| 1 | <?php |
||
| 8 | class LinearHorizontalPlacer extends AbstractPlacer |
||
| 9 | { |
||
| 10 | /** @var int */ |
||
| 11 | protected $increment; |
||
| 12 | |||
| 13 | 1 | public function __construct($imgWidth, $imgHeight, $increment = 10) |
|
| 18 | |||
| 19 | 1 | public function getNextPlaceToTry(PointInterface $current) |
|
| 31 | |||
| 32 | 1 | function getFirstPlaceToTry() |
|
| 36 | |||
| 37 | } |
||
| 38 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.