We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc4628d commit 2205a93Copy full SHA for 2205a93
src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h
@@ -37,7 +37,7 @@ function ($base) {
37
}
38
if ($key === 'indexOf') {
39
return function ($item) use (&$base) {
40
- $search = array_search($base, $item);
+ $search = array_search($item, $base);
41
42
return $search === false ? -1 : $search;
43
};
0 commit comments