File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private function __construct()
5757 */
5858 public static function keys (): array
5959 {
60- return array_keys (static ::all ());
60+ return \ array_keys (static ::all ());
6161 }
6262
6363 /**
@@ -96,7 +96,7 @@ public static function getDefault(): string
9696 */
9797 public static function has ($ model , $ key ): bool
9898 {
99- if (is_object ($ model )) {
99+ if (\ is_object ($ model )) {
100100 if ($ attribute = static ::$ attribute ) {
101101 return $ model ->$ attribute == $ key ;
102102 }
@@ -117,7 +117,7 @@ public static function has($model, $key): bool
117117 */
118118 public static function hasIn ($ model , array $ keys ): bool
119119 {
120- if (is_object ($ model )) {
120+ if (\ is_object ($ model )) {
121121 if ($ attribute = static ::$ attribute ) {
122122 return \in_array ($ model ->$ attribute , $ keys );
123123 }
You can’t perform that action at this time.
0 commit comments