@@ -65,7 +65,7 @@ |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @return TabInterface[]|DisplayTabsCollection |
|
| 68 | + * @return \SleepingOwl\Admin\Form\FormElementsCollection |
|
| 69 | 69 | */ |
| 70 | 70 | public function getTabs() |
| 71 | 71 | { |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @return $this|Custom|mixed |
|
| 89 | + * @return string |
|
| 90 | 90 | */ |
| 91 | 91 | public function render() |
| 92 | 92 | { |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | * @deprecated 4.5.0 |
| 214 | 214 | * @see getElements() |
| 215 | 215 | * |
| 216 | - * @return Collection[] |
|
| 216 | + * @return FormElementsCollection |
|
| 217 | 217 | */ |
| 218 | 218 | public function getItems() |
| 219 | 219 | { |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | * |
| 302 | 302 | * @param ModelConfigurationInterface $modelConfiguration |
| 303 | 303 | * |
| 304 | - * @return bool |
|
| 304 | + * @return null|boolean |
|
| 305 | 305 | */ |
| 306 | 306 | public function saveForm(ModelConfigurationInterface $modelConfiguration) |
| 307 | 307 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param string $path |
| 10 | 10 | * @param string|null $label |
| 11 | 11 | * |
| 12 | - * @return NamedFormElement |
|
| 12 | + * @return PHPUnit_Framework_MockObject_MockObject |
|
| 13 | 13 | */ |
| 14 | 14 | protected function getElement($path = 'path', $label = null) |
| 15 | 15 | { |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | class FormElementTest extends TestCase |
| 7 | 7 | { |
| 8 | 8 | /** |
| 9 | - * @return FormElement |
|
| 9 | + * @return PHPUnit_Framework_MockObject_MockObject |
|
| 10 | 10 | */ |
| 11 | 11 | protected function getElement() |
| 12 | 12 | { |
@@ -166,8 +166,8 @@ |
||
| 166 | 166 | $controller = m::mock($controllerClass); |
| 167 | 167 | $this->app->instance($controllerClass, $controller); |
| 168 | 168 | $controller->shouldReceive('renderContent') |
| 169 | - ->withArgs($arguments) |
|
| 170 | - ->once(); |
|
| 169 | + ->withArgs($arguments) |
|
| 170 | + ->once(); |
|
| 171 | 171 | |
| 172 | 172 | $this->admin->view($arguments[0], $arguments[1]); |
| 173 | 173 | } |