Completed
Pull Request — master (#7709)
by
unknown
09:31
created
lib/Doctrine/ORM/Reflection/StaticReflectionService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function getClassShortName(string $className) : string
31 31
     {
32 32
         if (strpos($className, '\\') !== false) {
33
-            $className = substr($className, strrpos($className, '\\')+1);
33
+            $className = substr($className, strrpos($className, '\\') + 1);
34 34
         }
35 35
 
36 36
         return $className;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $namespace = '';
45 45
 
46 46
         if (strpos($className, '\\') !== false) {
47
-            $namespace = strrev(substr(strrev($className), strpos(strrev($className), '\\')+1));
47
+            $namespace = strrev(substr(strrev($className), strpos(strrev($className), '\\') + 1));
48 48
         }
49 49
 
50 50
         return $namespace;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH7708Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     protected function getEntityManager()
21 21
     {
22
-        if (!$this->entityManager) {
22
+        if ( ! $this->entityManager) {
23 23
             $regionsConfig = new RegionsConfiguration();
24 24
 
25 25
             $cacheDriver = new GH7708ArrayCacheMock();
Please login to merge, or discard this patch.