Completed
Pull Request — develop (#39)
by Axel
09:34
created
Model/FeatureModel.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-     * @return FeatureModel
126
+     * @return ProjectModel
127 127
      */
128 128
     public function getProject() {
129 129
         return $this->project;
@@ -148,6 +148,7 @@  discard block
 block discarded – undo
148 148
 
149 149
     /**
150 150
      * @var integer $userValue
151
+     * @param integer $userValue
151 152
      * @return FeatureModel
152 153
      */
153 154
     public function setUserValue($userValue) {
@@ -203,7 +204,7 @@  discard block
 block discarded – undo
203 204
      *
204 205
      * @param \DateTime $createdAt
205 206
      *
206
-     * @return ProjectModel
207
+     * @return FeatureModel
207 208
      */
208 209
     public function setCreatedAt($createdAt)
209 210
     {
@@ -227,7 +228,7 @@  discard block
 block discarded – undo
227 228
      *
228 229
      * @param \DateTime $updatedAt
229 230
      *
230
-     * @return ProjectModel
231
+     * @return FeatureModel
231 232
      */
232 233
     public function setUpdatedAt($updatedAt)
233 234
     {
Please login to merge, or discard this patch.
Model/ProjectModel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Developtech\AgilityBundle\Model;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6
-
7 5
 use Doctrine\Common\Collections\ArrayCollection;
8 6
 
9 7
 /**
Please login to merge, or discard this patch.
Repository/FeedbackRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function countPerStatus(ProjectModel $project, $status) {
21 21
         $statement = $this->getEntityManager()->getConnection()->prepare(
22
-            "SELECT COUNT(*) as nb_feedbacks FROM {$this->getClassMetadata()->getTableName()} " .
22
+            "SELECT COUNT(*) as nb_feedbacks FROM {$this->getClassMetadata()->getTableName()} ".
23 23
             "WHERE project_id = :project_id AND status = :status"
24 24
         );
25 25
         $statement->execute([
Please login to merge, or discard this patch.