Skip to content

Commit

Permalink
Merge pull request #11 from kdambekalns/type-hints
Browse files Browse the repository at this point in the history
TASK: Add array type hints in ArrayFormFactory
  • Loading branch information
daniellienert committed May 16, 2016
2 parents aef5098 + 6199c8c commit d1ad955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/TYPO3/Form/Factory/ArrayFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public function build(array $configuration, $presetName)

/**
* @param array $nestedRenderableConfiguration
* @param \TYPO3\Form\Core\Model\Renderable\CompositeRenderableInterface CompositeRenderableInterface $parentRenderable
* @param \TYPO3\Form\Core\Model\Renderable\CompositeRenderableInterface $parentRenderable
* @return mixed
* @throws \TYPO3\Form\Exception\IdentifierNotValidException
*/
protected function addNestedRenderable($nestedRenderableConfiguration, \TYPO3\Form\Core\Model\Renderable\CompositeRenderableInterface $parentRenderable)
protected function addNestedRenderable(array $nestedRenderableConfiguration, \TYPO3\Form\Core\Model\Renderable\CompositeRenderableInterface $parentRenderable)
{
if (!isset($nestedRenderableConfiguration['identifier'])) {
throw new \TYPO3\Form\Exception\IdentifierNotValidException('Identifier not set.', 1329289436);
Expand Down Expand Up @@ -90,7 +90,7 @@ protected function addNestedRenderable($nestedRenderableConfiguration, \TYPO3\Fo
* @param array $input
* @return array
*/
protected function convertJsonArrayToAssociativeArray($input)
protected function convertJsonArrayToAssociativeArray(array $input)
{
$output = array();
foreach ($input as $key => $value) {
Expand Down

0 comments on commit d1ad955

Please sign in to comment.