src/Filter/FixtureFilterAbstractFactory.php 1 location
|
@@ 123-131 (lines=9) @@
|
120 |
|
throw new Exception\RuntimeException($errMsg); |
121 |
|
} |
122 |
|
|
123 |
|
if (!is_string($item['name'])) { |
124 |
|
$errMsg = sprintf( |
125 |
|
'Parameter [%s][filters][%s][\'name\'] of type %s is invalid. Must string', |
126 |
|
Module::CONFIG_KEY, |
127 |
|
$index, |
128 |
|
(is_object($item['name']) ? get_class($item['name']) : gettype($item['name'])) |
129 |
|
); |
130 |
|
throw new Exception\RuntimeException($errMsg); |
131 |
|
} |
132 |
|
|
133 |
|
$name = $item['name']; |
134 |
|
$options = array_key_exists('options', $item) ? $item['options'] : []; |
src/Loader/FixtureLoaderAbstractFactory.php 1 location
|
@@ 116-124 (lines=9) @@
|
113 |
|
throw new Exception\RuntimeException($errMsg); |
114 |
|
} |
115 |
|
|
116 |
|
if (!is_string($item['name'])) { |
117 |
|
$errMsg = sprintf( |
118 |
|
'Parameter [%s][fixtures][%s][\'name\'] of type %s is invalid. Must string', |
119 |
|
Module::CONFIG_KEY, |
120 |
|
$index, |
121 |
|
(is_object($item['name']) ? get_class($item['name']) : gettype($item['name'])) |
122 |
|
); |
123 |
|
throw new Exception\RuntimeException($errMsg); |
124 |
|
} |
125 |
|
|
126 |
|
$name = $item['name']; |
127 |
|
$options = array_key_exists('options', $item) ? $item['options'] : []; |