@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | public function getConstructorProperties() |
93 | 93 | { |
94 | - $constructorProperties = array_filter($this->beanPropertyDescriptors, function (AbstractBeanPropertyDescriptor $property) { |
|
94 | + $constructorProperties = array_filter($this->beanPropertyDescriptors, function(AbstractBeanPropertyDescriptor $property) { |
|
95 | 95 | return $property->isCompulsory(); |
96 | 96 | }); |
97 | 97 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | public function getExposedProperties() |
107 | 107 | { |
108 | - $exposedProperties = array_filter($this->beanPropertyDescriptors, function (AbstractBeanPropertyDescriptor $property) { |
|
108 | + $exposedProperties = array_filter($this->beanPropertyDescriptors, function(AbstractBeanPropertyDescriptor $property) { |
|
109 | 109 | return $property->getTable()->getName() == $this->table->getName(); |
110 | 110 | }); |
111 | 111 | |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | $fksByMethodName = []; |
272 | 272 | |
273 | 273 | foreach ($fksByTable as $tableName => $fksForTable) { |
274 | - if (count($fksForTable) > 1) { |
|
274 | + if (count($fksForTable)>1) { |
|
275 | 275 | foreach ($fksForTable as $fk) { |
276 | 276 | $methodName = 'get'.TDBMDaoGenerator::toCamelCase($fk->getLocalTableName()).'By'; |
277 | 277 | |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | |
386 | 386 | $finalDescs = []; |
387 | 387 | foreach ($descs as $descArray) { |
388 | - if (count($descArray) > 1) { |
|
388 | + if (count($descArray)>1) { |
|
389 | 389 | foreach ($descArray as $desc) { |
390 | 390 | $desc['name'] = TDBMDaoGenerator::toCamelCase($desc['remoteFK']->getForeignTableName()).'By'.TDBMDaoGenerator::toCamelCase($desc['table']->getName()); |
391 | 391 | $finalDescs[] = $desc; |