diff --git a/focal_point.install b/focal_point.install index 09a852f..eb694e2 100644 --- a/focal_point.install +++ b/focal_point.install @@ -86,7 +86,7 @@ function focal_point_update_8002(&$sandbox) { /** @var \Drupal\file\FileInterface $file */ $file = $file_storage->load($focal_point->fid); - if (!isNull($file)) { + if (!is_null($file)) { // Try to load width and height from the image fields and fall back to // reading image file if that was not successful. $usage = $file_usage->listUsage($file);