1<?php 2/** 3 * Some comment 4 */ 5class Foo{function foo(){} 6 7 /** 8 * @param Baz $baz 9 */ 10 public function bar(Baz $baz) 11 { 12 } 13 14 /** 15 * @param Foobar $foobar 16 */ 17 static public function foobar(Foobar $foobar) 18 { 19 } 20 21 public function barfoo(Barfoo $barfoo) 22 { 23 } 24 25 /** 26 * This docblock does not belong to the baz function 27 */ 28 29 public function baz() 30 { 31 } 32 33 public function blaz($x, $y) 34 { 35 } 36} 37