@@ -68,7 +68,7 @@ |
||
| 68 | 68 | $class->expects($this->any())->method('getAssociationNames')->will($this->returnValue(array())); |
| 69 | 69 | $class->expects($this->any())->method('isIdentifier')->will( |
| 70 | 70 | $this->returnCallback( |
| 71 | - function ($field) { |
|
| 71 | + function($field) { |
|
| 72 | 72 | return $field === 'a'; |
| 73 | 73 | } |
| 74 | 74 | ) |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | $this->container->expects($this->any())->method('getParameter') |
| 59 | 59 | ->will( |
| 60 | 60 | $this->returnCallback( |
| 61 | - function ($arg) { |
|
| 61 | + function($arg) { |
|
| 62 | 62 | switch ($arg) { |
| 63 | 63 | case 'onurb_yuml.show_fields_description': |
| 64 | 64 | return false; |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | $this->container->expects($this->any())->method('getParameter') |
| 59 | 59 | ->will( |
| 60 | 60 | $this->returnCallback( |
| 61 | - function ($arg) { |
|
| 61 | + function($arg) { |
|
| 62 | 62 | switch ($arg) { |
| 63 | 63 | case 'onurb_yuml.show_fields_description': |
| 64 | 64 | return false; |
@@ -123,6 +123,8 @@ discard block |
||
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | 125 | * @param string $style |
| 126 | + * @param string $direction |
|
| 127 | + * @param string $scale |
|
| 126 | 128 | * @return string |
| 127 | 129 | */ |
| 128 | 130 | private function makePostUrl($style, $direction, $scale) |
@@ -140,6 +142,9 @@ discard block |
||
| 140 | 142 | return explode('.', $return)[0] . '.' . $this->checkExtension($extension); |
| 141 | 143 | } |
| 142 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $style |
|
| 147 | + */ |
|
| 143 | 148 | private function makeStyle($style, $direction, $scale) |
| 144 | 149 | { |
| 145 | 150 | return $this->checkStyle($style) . $this->makeDirection($direction) . $this->makeScale($scale); |