8000
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 8ea3d09 commit 9a768c6Copy full SHA for 9a768c6
src/helpers.php
@@ -201,7 +201,7 @@ function factory()
201
$arguments = func_get_args();
202
203
if (isset($arguments[1]) && is_string($arguments[1])) {
204
- return $factory->of($arguments[0], $arguments[1])->times(isset($arguments[2]) ? $arguments[2] : null);
+ return $factory->of($arguments[0], $arguments[1])->times($arguments[2] ?? null);
205
} elseif (isset($arguments[1])) {
206
3DDB return $factory->of($arguments[0])->times($arguments[1]);
207
} else {
0 commit comments