@@ -90,7 +90,7 @@ |
||
| 90 | 90 | |
| 91 | 91 | public function once($name, $callback) |
| 92 | 92 | { |
| 93 | - $key = 'once' . $name; |
|
| 93 | + $key = 'once'.$name; |
|
| 94 | 94 | |
| 95 | 95 | $rows = $this->mapper->find('_schema', ['key' => $key]); |
| 96 | 96 | if (!count($rows)) { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | |
| 55 | 55 | private function initSchema() |
| 56 | 56 | { |
| 57 | - $this->mapper->getSchema()->once(__CLASS__, function ($mapper) { |
|
| 57 | + $this->mapper->getSchema()->once(__CLASS__, function($mapper) { |
|
| 58 | 58 | $mapper->getSchema() |
| 59 | 59 | ->createSpace('_procedure') |
| 60 | 60 | ->addProperties([ |
@@ -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 | } |