@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | public function getConstructorProperties() |
94 | 94 | { |
95 | - $constructorProperties = array_filter($this->beanPropertyDescriptors, function (AbstractBeanPropertyDescriptor $property) { |
|
95 | + $constructorProperties = array_filter($this->beanPropertyDescriptors, function(AbstractBeanPropertyDescriptor $property) { |
|
96 | 96 | return $property->isCompulsory(); |
97 | 97 | }); |
98 | 98 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | public function getPropertiesWithDefault() |
108 | 108 | { |
109 | 109 | $properties = $this->getPropertiesForTable($this->table); |
110 | - $defaultProperties = array_filter($properties, function (AbstractBeanPropertyDescriptor $property) { |
|
110 | + $defaultProperties = array_filter($properties, function(AbstractBeanPropertyDescriptor $property) { |
|
111 | 111 | return $property->hasDefault(); |
112 | 112 | }); |
113 | 113 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | */ |
122 | 122 | public function getExposedProperties() |
123 | 123 | { |
124 | - $exposedProperties = array_filter($this->beanPropertyDescriptors, function (AbstractBeanPropertyDescriptor $property) { |
|
124 | + $exposedProperties = array_filter($this->beanPropertyDescriptors, function(AbstractBeanPropertyDescriptor $property) { |
|
125 | 125 | return $property->getTable()->getName() == $this->table->getName(); |
126 | 126 | }); |
127 | 127 | |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | } |
332 | 332 | |
333 | 333 | foreach ($descriptorsByMethodName as $descriptorsForMethodName) { |
334 | - if (count($descriptorsForMethodName) > 1) { |
|
334 | + if (count($descriptorsForMethodName)>1) { |
|
335 | 335 | foreach ($descriptorsForMethodName as $descriptor) { |
336 | 336 | $descriptor->useAlternativeName(); |
337 | 337 | } |
@@ -424,7 +424,7 @@ discard block |
||
424 | 424 | |
425 | 425 | $classes = $this->generateExtendsAndUseStatements($parentFk); |
426 | 426 | |
427 | - $uses = array_map(function ($className) use ($beannamespace) { |
|
427 | + $uses = array_map(function($className) use ($beannamespace) { |
|
428 | 428 | return 'use '.$beannamespace.'\\'.$className.";\n"; |
429 | 429 | }, $classes); |
430 | 430 | $use = implode('', $uses); |