@@ -20,7 +20,7 @@ |
||
| 20 | 20 | public function prePersist($entity) |
| 21 | 21 | { |
| 22 | 22 | if ($entity->getGuid() === null) { |
| 23 | - $entity->setGuid((string)Uuid::uuid4()); |
|
| 23 | + $entity->setGuid((string) Uuid::uuid4()); |
|
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -13,6 +13,6 @@ |
||
| 13 | 13 | $path = explode("/", __DIR__); |
| 14 | 14 | array_pop($path); |
| 15 | 15 | |
| 16 | - return implode("/", $path)."/../../" . $package; |
|
| 16 | + return implode("/", $path) . "/../../" . $package; |
|
| 17 | 17 | } |
| 18 | 18 | } |
| 19 | 19 | \ No newline at end of file |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | $rights[] = json_decode(file_get_contents($this->globals->getBaseBundlePath($module->getPackageName()) . "/Resources/json/ribsadmin_rights.json")); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | - return (object)$rights; |
|
| 81 | + return (object) $rights; |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |