File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ abstract class AbstractConfigurator
34
34
/** @internal */
35
35
protected Definition |Alias |null $ definition = null ;
36
36
37
+ /**
38
+ * @return mixed
39
+ */
37
40
public function __call (string $ method , array $ args )
38
41
{
39
42
if (method_exists ($ this , 'set ' .$ method )) {
@@ -48,6 +51,9 @@ public function __sleep(): array
48
51
throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
49
52
}
50
53
54
+ /**
55
+ * @return void
56
+ */
51
57
public function __wakeup ()
52
58
{
53
59
throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ public function get(string $id): mixed
60
60
}
61
61
}
62
62
63
+ /**
64
+ * @return mixed
65
+ */
63
66
public function __invoke (string $ id )
64
67
{
65
68
return isset ($ this ->factories [$ id ]) ? $ this ->get ($ id ) : null ;
You can’t perform that action at this time.
0 commit comments