@@ -145,7 +145,7 @@ |
||
145 | 145 | if (!$this->getPropertyType($property)) { |
146 | 146 | throw new Exception("Unknown property $property", 1); |
147 | 147 | } |
148 | - $options['parts'][] = $this->getPropertyIndex($property)+1; |
|
148 | + $options['parts'][] = $this->getPropertyIndex($property) + 1; |
|
149 | 149 | $options['parts'][] = $this->getPropertyType($property); |
150 | 150 | $this->setPropertyNullable($property, false); |
151 | 151 | } |
@@ -137,7 +137,7 @@ |
||
137 | 137 | |
138 | 138 | public function once($name, $callback) |
139 | 139 | { |
140 | - $key = 'mapper-once' . $name; |
|
140 | + $key = 'mapper-once'.$name; |
|
141 | 141 | |
142 | 142 | $rows = $this->mapper->find('_schema', ['key' => $key]); |
143 | 143 | if (!count($rows)) { |