Test Failed
Push — feature/paths-loader ( ca8af4 )
by Patrick
04:40
created
src/FluentDriver.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      * Gets the names of all mapped classes known to this driver.
83 83
      *
84 84
      * @throws MappingException
85
-     * @return string[] The names of all mapped classes known to this driver.
85
+     * @return integer[] The names of all mapped classes known to this driver.
86 86
      */
87 87
     public function getAllClassNames()
88 88
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function __construct(array $mappings = [], array $paths = [])
48 48
     {
49
-        $this->fluentFactory = function (ClassMetadata $metadata) {
49
+        $this->fluentFactory = function(ClassMetadata $metadata) {
50 50
             return new Builder(new ClassMetadataBuilder($metadata));
51 51
         };
52 52
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                     new RecursiveDirectoryIterator($path, FilesystemIterator::SKIP_DOTS),
125 125
                     RecursiveIteratorIterator::LEAVES_ONLY
126 126
                 ),
127
-                '/^.+' . preg_quote($this->fileExtension) . '$/i',
127
+                '/^.+'.preg_quote($this->fileExtension).'$/i',
128 128
                 RecursiveRegexIterator::GET_MATCH
129 129
             );
130 130
 
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
             $mapping = new $class();
185 185
 
186 186
             if (!$mapping instanceof Mapping) {
187
-                throw new InvalidArgumentException("Mapping class [{$class}] should implement " . Mapping::class);
187
+                throw new InvalidArgumentException("Mapping class [{$class}] should implement ".Mapping::class);
188 188
             }
189 189
 
190 190
             $this->addMapping($mapping);
Please login to merge, or discard this patch.