Code improvements (#1649)
* use global namespace for faster lookups * phpstan level 5
This commit is contained in:
@@ -52,7 +52,7 @@ class SelectWithApiDataExtension extends AbstractTypeExtension
|
||||
|
||||
$apiData = $options['api_data'];
|
||||
|
||||
if (!is_array($apiData)) {
|
||||
if (!\is_array($apiData)) {
|
||||
throw new \InvalidArgumentException('Option "api_data" must be an array for form "' . $form->getName() . '"');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user