@@ -96,12 +96,12 @@ |
||
| 96 | 96 | return null; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - /** |
|
| 100 | - * Determines if registered listeners exist for an event name. |
|
| 101 | - * |
|
| 102 | - * @param string $eventName |
|
| 103 | - * @return bool |
|
| 104 | - */ |
|
| 99 | + /** |
|
| 100 | + * Determines if registered listeners exist for an event name. |
|
| 101 | + * |
|
| 102 | + * @param string $eventName |
|
| 103 | + * @return bool |
|
| 104 | + */ |
|
| 105 | 105 | public function hasListeners($eventName) |
| 106 | 106 | { |
| 107 | 107 | return null !== $this->getListeners($eventName); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @var string |
| 26 | 26 | */ |
| 27 | - private $prefix = 'ModlrData'; |
|
| 27 | + private $prefix = 'ModlrData'; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Constructor. |
@@ -264,7 +264,7 @@ |
||
| 264 | 264 | * @param EntityMetadata &$metadata |
| 265 | 265 | * @param EntityMetadata $toAdd |
| 266 | 266 | */ |
| 267 | - private function mergeMetadata(EntityMetadata &$metadata = null, EntityMetadata $toAdd) |
|
| 267 | + private function mergeMetadata(EntityMetadata & $metadata = null, EntityMetadata $toAdd) |
|
| 268 | 268 | { |
| 269 | 269 | if (null === $metadata) { |
| 270 | 270 | $metadata = clone $toAdd; |
@@ -236,8 +236,8 @@ |
||
| 236 | 236 | if (isset($mapping['calculated']) && is_array($mapping['calculated'])) { |
| 237 | 237 | $calculated = $mapping['calculated']; |
| 238 | 238 | if (isset($calculated['class']) && isset($calculated['method'])) { |
| 239 | - $attribute->calculated['class'] = $calculated['class']; |
|
| 240 | - $attribute->calculated['method'] = $calculated['method']; |
|
| 239 | + $attribute->calculated['class'] = $calculated['class']; |
|
| 240 | + $attribute->calculated['method'] = $calculated['method']; |
|
| 241 | 241 | } |
| 242 | 242 | } |
| 243 | 243 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @var string |
| 26 | 26 | */ |
| 27 | - private $prefix = 'ModlrData'; |
|
| 27 | + private $prefix = 'ModlrData'; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Constructor. |