Browse Source

Code clean-up

merge-requests/14/head
Chi 3 years ago
parent
commit
8dedaf4e61
  1. 2
      src/TwigTweakExtension.php

2
src/TwigTweakExtension.php

@ -246,7 +246,7 @@ class TwigTweakExtension extends AbstractExtension {
->getStorage('file') ->getStorage('file')
->loadByProperties([$selector_type => $selector]); ->loadByProperties([$selector_type => $selector]);
if (count($files) < 1) { if (count($files) == 0) {
return []; return [];
} }

Loading…
Cancel
Save