@@ -84,10 +84,10 @@ |
||
| 84 | 84 | */ |
| 85 | 85 | private function getRelationshipMethodName($name) |
| 86 | 86 | { |
| 87 | - if (stripos($name, '-')) { |
|
| 88 | - $name = lcfirst(implode('', array_map('ucfirst', explode('-', $name)))); |
|
| 89 | - } |
|
| 87 | + if (stripos($name, '-')) { |
|
| 88 | + $name = lcfirst(implode('', array_map('ucfirst', explode('-', $name)))); |
|
| 89 | + } |
|
| 90 | 90 | |
| 91 | - return $name; |
|
| 91 | + return $name; |
|
| 92 | 92 | } |
| 93 | 93 | } |