File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function schemaFromCache(): ?array
6464 */
6565 public function primaryKeyFromCache (): ?string
6666 {
67- return $ this ->schemaFromCache ()['primaryKey ' ];
67+ return $ this ->schemaFromCache ()['primaryKey ' ] ?? null ;
6868 }
6969
7070 /**
@@ -73,7 +73,7 @@ public function primaryKeyFromCache(): ?string
7373 */
7474 public function columnSchemasFromCache (): ?array
7575 {
76- return $ this ->schemaFromCache ()['columns ' ];
76+ return $ this ->schemaFromCache ()['columns ' ] ?? null ;
7777 }
7878
7979 /**
@@ -82,7 +82,7 @@ public function columnSchemasFromCache(): ?array
8282 */
8383 public function foreignKeysFromCache (): ?array
8484 {
85- return $ this ->schemaFromCache ()['foreignKeys ' ];
85+ return $ this ->schemaFromCache ()['foreignKeys ' ] ?? null ;
8686 }
8787
8888 /**
You can’t perform that action at this time.
0 commit comments