Fix possible null pointer.

This commit is contained in:
James Cole
2018-03-30 22:40:20 +02:00
parent 08ff3d8ad0
commit 8f3e84df4d
16 changed files with 437 additions and 35 deletions

View File

@@ -223,6 +223,7 @@ class User extends Authenticatable
*
* @param string $name
*
* @deprecated
* @return bool
*/
public function hasRole(string $name): bool