Completed
Push — develop ( 29e92f...f35b7e )
by greg
05:15
created
src/PlaygroundGame/Controller/Admin/MissionController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/PlaygroundGame/Controller/Frontend/MissionController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PlaygroundGame/Entity/Mission.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,9 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PlaygroundGame/Service/Mission.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,11 +3,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.