You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \RuntimeException(sprintf('Unsupported data of type "%s".', ('object' === $type = gettype($data)) ? get_class($data) : $type));
@@ -119,13 +119,13 @@ public function reverseTransform($data, array $options)
119
119
}
120
120
121
121
if (isset($options['predefined_data'][$method])) {
122
-
if (!is_array($options['predefined_data'][$method])) {
123
-
thrownew \RuntimeException(sprintf('"predefined_data" is expected to be an array for each method, but got "%s" for method "%s".', json_encode($options['extra_data'][$method]), $method));
124
-
}
122
+
if (!is_array($options['predefined_data'][$method])) {
123
+
thrownew \RuntimeException(sprintf('"predefined_data" is expected to be an array for each method, but got "%s" for method "%s".', json_encode($options['extra_data'][$method]), $method));
Copy file name to clipboardexpand all lines: Tests/bootstrap.php
+5-5
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@
4
4
$dir = __DIR__;
5
5
$lastDir = null;
6
6
while (($dir = dirname($dir)) && $dir !== $lastDir) {
7
-
$lastDir = $dir;
7
+
$lastDir = $dir;
8
8
9
-
if (file_exists($file = $dir.'/app/autoload.php')) {
10
-
require_once$file;
11
-
return;
12
-
}
9
+
if (file_exists($file = $dir.'/app/autoload.php')) {
10
+
require_once$file;
11
+
return;
12
+
}
13
13
}
14
14
15
15
thrownew \RuntimeException('Could not locate the project\'s bootstrap.php.cache. If your bundle is not inside a project, you need to replace this bootstrap file.');
0 commit comments