Skip to content

Commit

Permalink
withCount added config (#669)
Browse files Browse the repository at this point in the history
withCount added config
  • Loading branch information
bsormagec authored Dec 21, 2019
1 parent a107e47 commit fd7ed54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/config/repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
'sortedBy' => 'sortedBy',
'with' => 'with',
'searchJoin' => 'searchJoin'

This comment has been minimized.

Copy link
@liratanak

liratanak Dec 22, 2019

yes, please more comma...

'withCount' => 'withCount'
]
],
/*
Expand Down

2 comments on commit fd7ed54

@popfaker
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same problem

@appotter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as me too.

It's said when php artisan package:discover --ansi


Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi

In repository.php line 220:

syntax error, unexpected ''withCount'' (T_CONSTANT_ENCAPSED_STRING), expect ing ']'

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
.
.
.
PLEASE fixes ASAP @bsormagec

Thank you.

Please sign in to comment.