Completed
Pull Request — develop (#6743)
by Grégoire
61:28
created
lib/Doctrine/ORM/ORMException.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\ORM;
6 6
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public static function namedQueryNotFound($queryName)
33 33
     {
34
-        return new self('Could not find a named query by the name "' . $queryName . '"');
34
+        return new self('Could not find a named query by the name "'.$queryName.'"');
35 35
     }
36 36
 
37 37
     /**
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public static function namedNativeQueryNotFound($nativeQueryName)
43 43
     {
44
-        return new self('Could not find a named native query by the name "' . $nativeQueryName . '"');
44
+        return new self('Could not find a named native query by the name "'.$nativeQueryName.'"');
45 45
     }
46 46
 
47 47
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public static function invalidOrientation($className, $field)
78 78
     {
79
-        return new self("Invalid order by orientation specified for " . $className . "#" . $field);
79
+        return new self("Invalid order by orientation specified for ".$className."#".$field);
80 80
     }
81 81
 
82 82
     /**
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public static function queryCacheUsesNonPersistentCache(CacheDriver $cache)
185 185
     {
186
-        return new self('Query Cache uses a non-persistent cache driver, ' . get_class($cache) . '.');
186
+        return new self('Query Cache uses a non-persistent cache driver, '.get_class($cache).'.');
187 187
     }
188 188
 
189 189
     /**
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      */
194 194
     public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache)
195 195
     {
196
-        return new self('Metadata Cache uses a non-persistent cache driver, ' . get_class($cache) . '.');
196
+        return new self('Metadata Cache uses a non-persistent cache driver, '.get_class($cache).'.');
197 197
     }
198 198
 
199 199
     /**
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */
235 235
     public static function missingIdentifierField($className, $fieldName)
236 236
     {
237
-        return new self("The identifier $fieldName is missing for a query of " . $className);
237
+        return new self("The identifier $fieldName is missing for a query of ".$className);
238 238
     }
239 239
 
240 240
     /**
@@ -246,8 +246,8 @@  discard block
 block discarded – undo
246 246
     public static function unrecognizedIdentifierFields($className, $fieldNames)
247 247
     {
248 248
         return new self(
249
-            "Unrecognized identifier fields: '" . implode("', '", $fieldNames) . "' " .
250
-            "are not present on class '" . $className . "'."
249
+            "Unrecognized identifier fields: '".implode("', '", $fieldNames)."' ".
250
+            "are not present on class '".$className."'."
251 251
         );
252 252
     }
253 253
 
Please login to merge, or discard this patch.