Update repository base code to be cleaner and make use of PHP 7 features
This commit is contained in:
parent
0ec5a4e08c
commit
60eb60013c
96 changed files with 1048 additions and 1785 deletions
|
@ -122,7 +122,7 @@ class EggSeeder extends Seeder
|
|||
$file = new UploadedFile($file->getPathname(), $file->getFilename(), 'application/json', $file->getSize());
|
||||
|
||||
try {
|
||||
$egg = $this->repository->withColumns('id')->findFirstWhere([
|
||||
$egg = $this->repository->setColumns('id')->findFirstWhere([
|
||||
['author', '=', $decoded->author],
|
||||
['name', '=', $decoded->name],
|
||||
['nest_id', '=', $nest->id],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue