| 1 | <?php |
||
| 11 | trait StrictStaticObjectWatchdog { |
||
| 12 | /** |
||
| 13 | * @param string $prop |
||
| 14 | * @param mixed $value |
||
| 15 | * @throws UndefinedPropertySetting if trying to set undefined property |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function __set($prop, $value) { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $prop |
||
| 24 | * @throws UnsettingProperty if trying to unset property |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function __unset($prop) { |
||
| 30 | } |
||
| 31 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.