Daniel Medeiros
Daniel Medeiros
if(is_array($key['name'])){ if(! $key['table']){ $key['table'] = str_plural(substr($key['name'], 0, count($key['name']) - 4)); } }else{ if(! $key['table']){ $key['table'] = str_plural(substr($key['name'], 0, 1 - 4)); } }
> Hello, i try to create one model with method wn:resources and get this error: > In MigrationCommand.php line 118: > count(): Parameter must be an array or an object...
aqui está a linha corrigida import { User, Unsubscribe, ActionCodeInfo, UserCredential, Auth, IdTokenResult, MultiFactorError, MultiFactorResolver, PopupRedirectResolver, Dependencies, AuthCredential, ApplicationVerifier, ConfirmationResult, AuthProvider, MultiFactorUser, NextOrObserver, ErrorFn, CompleteFn, ActionCodeSettings, Persistence, PhoneAuthCredential } from...