File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function has(?string $path): bool
44
44
}
45
45
}
46
46
47
- public function get (string $ path = null ): mixed
47
+ public function get (? string $ path = null ): mixed
48
48
{
49
49
return $ this ->reference ($ path ?? '' )->getValue ();
50
50
}
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ interface Document
6
6
{
7
7
public function getId (): string ;
8
8
9
- public function has (string $ path ): bool ;
9
+ public function has (? string $ path ): bool ;
10
10
11
11
/**
12
12
* @return ($path is null ? array<string, mixed> : mixed)
13
13
*/
14
- public function get (string $ path = null ): mixed ;
14
+ public function get (? string $ path = null ): mixed ;
15
15
16
16
public function findPathToParent (string $ field , mixed $ searchValue ): string ;
17
17
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function has(?string $path): bool
61
61
return false ;
62
62
}
63
63
64
- public function get (string $ path = null ): mixed
64
+ public function get (? string $ path = null ): mixed
65
65
{
66
66
foreach ($ this ->documents as $ document ) {
67
67
if ($ document ->has ($ path )) {
You can’t perform that action at this time.
0 commit comments