src/Collectors/Data/Config.php 1 location
|
@@ 23-25 (lines=3) @@
|
| 20 |
|
{ |
| 21 |
|
public function validate() |
| 22 |
|
{ |
| 23 |
|
if (!is_array($this->data)) { |
| 24 |
|
throw new \LogicException('Duration must be an array ' . json_encode($this->data) . ' given'); |
| 25 |
|
} |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
|
src/Collectors/Data/Included.php 1 location
|
@@ 35-37 (lines=3) @@
|
| 32 |
|
|
| 33 |
|
public function validate() |
| 34 |
|
{ |
| 35 |
|
if (!is_array($this->data)) { |
| 36 |
|
throw new \LogicException('Files must be an array ' . json_encode($this->data) . ' given'); |
| 37 |
|
} |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |