Passed
Pull Request — master (#3)
by
unknown
01:41
created
src/DBD/Entity/Interfaces/EntityMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
      * @param Column $column
83 83
      * @return int|string
84 84
      */
85
-    public function getVarNameByColumn(Column $column): int|string;
85
+    public function getVarNameByColumn(Column $column): int | string;
86 86
 
87 87
     /**
88 88
      * @return Column[]
Please login to merge, or discard this patch.
src/DBD/Entity/MapperAttributed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     public function name(): string
50 50
     {
51
-        return substr($this->entityClass, strrpos($this->entityClass, '\\') + 1). 'Map';
51
+        return substr($this->entityClass, strrpos($this->entityClass, '\\') + 1) . 'Map';
52 52
     }
53 53
 
54 54
     public function getEntityClass(): string
Please login to merge, or discard this patch.
src/DBD/Entity/MapperTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      * @return int|string
87 87
      * @throws EntityException
88 88
      */
89
-    public function getVarNameByColumn(Column $column): int|string
89
+    public function getVarNameByColumn(Column $column): int | string
90 90
     {
91 91
         foreach ($this->getOriginFieldNames() as $varName => $originFieldName) {
92 92
             if ($originFieldName == $column->name) {
Please login to merge, or discard this patch.