Skip to content

Commit 646a74a

Browse files
committed
#1341 - Fix phpstan errors
1 parent 8aadab6 commit 646a74a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phpcs.xml.dist

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<file>src</file>
2828

2929
<exclude-pattern>src/Generator/</exclude-pattern>
30-
<exclude-pattern>src/Devtools/</exclude-pattern>
3130

3231
<!--
3332
You can hard-code ignore patterns directly into your

src/Error/AppError.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ public function __construct(array $options = [])
5252
* Magic method to retrieve the attributes.
5353
*
5454
* @param string $method
55+
* @param $args
5556
* @return mixed|null
5657
*/
57-
public function __call($method)
58+
public function __call($method, $args)
5859
{
5960
return in_array($method, array_keys($this->attributes), true) ? $this->attributes[$method] : null;
6061
}

0 commit comments

Comments
 (0)