File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 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
4444 }
4545 }
4646
47- public function get (string $ path = null ): mixed
47+ public function get (? string $ path = null ): mixed
4848 {
4949 return $ this ->reference ($ path ?? '' )->getValue ();
5050 }
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ interface Document
66{
77 public function getId (): string ;
88
9- public function has (string $ path ): bool ;
9+ public function has (? string $ path ): bool ;
1010
1111 /**
1212 * @return ($path is null ? array<string, mixed> : mixed)
1313 */
14- public function get (string $ path = null ): mixed ;
14+ public function get (? string $ path = null ): mixed ;
1515
1616 public function findPathToParent (string $ field , mixed $ searchValue ): string ;
1717
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function has(?string $path): bool
6161 return false ;
6262 }
6363
64- public function get (string $ path = null ): mixed
64+ public function get (? string $ path = null ): mixed
6565 {
6666 foreach ($ this ->documents as $ document ) {
6767 if ($ document ->has ($ path )) {
You can’t perform that action at this time.
0 commit comments