comparison vendor/symfony/dependency-injection/Loader/DirectoryLoader.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
47 { 47 {
48 if ('directory' === $type) { 48 if ('directory' === $type) {
49 return true; 49 return true;
50 } 50 }
51 51
52 return null === $type && is_string($resource) && '/' === substr($resource, -1); 52 return null === $type && \is_string($resource) && '/' === substr($resource, -1);
53 } 53 }
54 } 54 }