Completed
Push — master ( 10274c...a4edad )
by Neomerx
03:11
created
src/Messages/FileBundleEncoder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return FileBundleEncoder
55 55
      */
56
-    protected function loadDescriptions(?iterable $messageDescriptions): self
56
+    protected function loadDescriptions(?iterable $messageDescriptions) : self
57 57
     {
58 58
         if ($messageDescriptions !== null) {
59 59
             foreach ($messageDescriptions as list($locale, $namespace, $messageStorage)) {
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
 
89 89
         foreach (scandir($localesDir) as $fileOrDir) {
90 90
             if ($fileOrDir !== '.' && $fileOrDir !== '..' &&
91
-                is_dir($localeDirFullPath = $localesDir . DIRECTORY_SEPARATOR . $fileOrDir . DIRECTORY_SEPARATOR)
91
+                is_dir($localeDirFullPath = $localesDir.DIRECTORY_SEPARATOR.$fileOrDir.DIRECTORY_SEPARATOR)
92 92
             ) {
93 93
                 $localeDir = $fileOrDir;
94
-                foreach (glob($localeDirFullPath . $this->getGlobMessagePatterns()) as $messageFile) {
94
+                foreach (glob($localeDirFullPath.$this->getGlobMessagePatterns()) as $messageFile) {
95 95
                     $namespace = pathinfo($messageFile, PATHINFO_FILENAME);
96 96
                     $bundle    = $this->loadBundleFromFile($messageFile, $localeDir, $namespace);
97 97
                     $this->addBundle($bundle);
Please login to merge, or discard this patch.