You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By far not an urgent issue, just thought I should report that running php artisan langman:sync throws ErrorException : Undefined offset: 2 when "Synchronizing language files..." if you have any php lang file that only returns an empty array.
Steps to reproduce:
Create a .php file in any of your lang folders;
Edit it so it returns just an empty array:
<?phpreturn [
//
];
Run php artisan langman:sync
The text was updated successfully, but these errors were encountered:
Description:
By far not an urgent issue, just thought I should report that running
php artisan langman:sync
throwsErrorException : Undefined offset: 2
when "Synchronizing language files..." if you have any php lang file that only returns an empty array.Steps to reproduce:
php artisan langman:sync
The text was updated successfully, but these errors were encountered: