1 | <?php |
||
89 | class SingleClass |
||
90 | { |
||
91 | private $test = null; |
||
92 | |||
93 | private $test2 = ['test' => 1]; |
||
94 | |||
95 | private $test3 = 1; |
||
96 | |||
97 | /** |
||
98 | * This is a property test |
||
99 | * |
||
100 | * @var boolean |
||
101 | */ |
||
102 | private $test4 = true; |
||
103 | |||
104 | /** |
||
105 | * Method Docblock for StaticPublicMethod |
||
106 | * |
||
107 | * I have explicitly added a **long** description _containing_ some markup to: |
||
108 | * |
||
109 | * * demonstrate what it looks like |
||
110 | * * test the markdown conversion process |
||
111 | * |
||
112 | * @param array $argument_a test argument |
||
113 | * @param FooBarClass $argument_b test argument |
||
114 | */ |
||
115 | public static function StaticPublicMethod(array $argument_a, FooBarClass $argument_b = null) |
||
118 | |||
119 | /** |
||
120 | * Method Docblock |
||
121 | * |
||
122 | * @param int $argument test argument |
||
123 | */ |
||
124 | public function PublicMethod($argument) |
||
127 | |||
128 | protected function ProtectedMethod() |
||
131 | } |
||
132 | |||
143 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.