@@ -274,7 +274,7 @@ |
||
| 274 | 274 | } |
| 275 | 275 | |
| 276 | 276 | /** |
| 277 | - * @param unknown_type $image |
|
| 277 | + * @param string $image |
|
| 278 | 278 | */ |
| 279 | 279 | public function setImage($image) |
| 280 | 280 | { |
@@ -41,6 +41,9 @@ |
||
| 41 | 41 | return $media_url; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param boolean $entry |
|
| 46 | + */ |
|
| 44 | 47 | public function checkPost($entry) |
| 45 | 48 | { |
| 46 | 49 | $post = $this->getPostVotePostMapper()->findOneBy(array('entry' => $entry)); |
@@ -53,7 +53,6 @@ discard block |
||
| 53 | 53 | * This service is ready for all types of games |
| 54 | 54 | * |
| 55 | 55 | * @param array $data |
| 56 | - * @param string $entity |
|
| 57 | 56 | * @param string $formClass |
| 58 | 57 | * @return \PlaygroundGame\Entity\Game |
| 59 | 58 | */ |
@@ -1786,6 +1785,9 @@ discard block |
||
| 1786 | 1785 | return $a; |
| 1787 | 1786 | } |
| 1788 | 1787 | |
| 1788 | + /** |
|
| 1789 | + * @param \Zend\InputFilter\InputFilter $inputFilter |
|
| 1790 | + */ |
|
| 1789 | 1791 | public function decorate($element, $attr, $inputFilter) |
| 1790 | 1792 | { |
| 1791 | 1793 | $element->setAttributes( |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param string $id |
|
| 40 | 39 | * @return \Heineken\Entity\Invitation |
| 41 | 40 | */ |
| 42 | 41 | public function findByGame($game) |
@@ -2,10 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace PlaygroundGame\Controller\Admin; |
| 4 | 4 | |
| 5 | -use PlaygroundGame\Entity\Game; |
|
| 6 | - |
|
| 7 | 5 | use PlaygroundGame\Entity\Mission; |
| 8 | - |
|
| 9 | 6 | use PlaygroundGame\Controller\Admin\GameController; |
| 10 | 7 | use PlaygroundGame\Service\Game as AdminGameService; |
| 11 | 8 | use Zend\View\Model\ViewModel; |
@@ -2,9 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace PlaygroundGame\Controller\Frontend; |
| 4 | 4 | |
| 5 | -use PlaygroundGame\Entity\Mission; |
|
| 6 | 5 | use PlaygroundGame\Controller\Frontend\GameController; |
| 7 | -use Zend\View\Model\ViewModel; |
|
| 8 | 6 | use Zend\Session\Container; |
| 9 | 7 | use PlaygroundGame\Service\GameService; |
| 10 | 8 | |
@@ -5,12 +5,9 @@ |
||
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
| 6 | 6 | use Doctrine\ORM\Mapping as ORM; |
| 7 | 7 | use Doctrine\ORM\Mapping\HasLifecycleCallbacks; |
| 8 | -use Doctrine\ORM\Mapping\PrePersist; |
|
| 9 | -use Doctrine\ORM\Mapping\PreUpdate; |
|
| 10 | 8 | use Zend\InputFilter\InputFilter; |
| 11 | 9 | use Zend\InputFilter\Factory as InputFactory; |
| 12 | 10 | use Zend\InputFilter\InputFilterAwareInterface; |
| 13 | -use Zend\InputFilter\InputFilterInterface; |
|
| 14 | 11 | |
| 15 | 12 | /** |
| 16 | 13 | * @ORM\Entity @HasLifecycleCallbacks |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * setMissionMapper |
| 143 | 143 | * |
| 144 | 144 | * @param MissionMapperInterface $missionMapper |
| 145 | - * @return User |
|
| 145 | + * @return Mission |
|
| 146 | 146 | */ |
| 147 | 147 | public function setMissionMapper($missionMapper) |
| 148 | 148 | { |
@@ -168,8 +168,8 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * setMissionMapper |
| 170 | 170 | * |
| 171 | - * @param MissionMapperInterface $missionMapper |
|
| 172 | - * @return User |
|
| 171 | + * @param MissionMapperInterface $missionGameMapper |
|
| 172 | + * @return Mission |
|
| 173 | 173 | */ |
| 174 | 174 | public function setMissionGameMapper($missionGameMapper) |
| 175 | 175 | { |
@@ -3,11 +3,7 @@ |
||
| 3 | 3 | namespace PlaygroundGame\Service; |
| 4 | 4 | |
| 5 | 5 | use Zend\ServiceManager\ServiceManagerAwareInterface; |
| 6 | -use Zend\ServiceManager\ServiceManager; |
|
| 7 | -use DoctrineModule\Validator\NoObjectExists as NoObjectExistsValidator; |
|
| 8 | 6 | use PlaygroundGame\Service\Game; |
| 9 | -use Zend\Db\Sql\Sql; |
|
| 10 | -use Zend\Db\Adapter\Adapter; |
|
| 11 | 7 | |
| 12 | 8 | class Mission extends Game implements ServiceManagerAwareInterface |
| 13 | 9 | { |