Completed
Push — master ( 651cee...b2acd3 )
by Axel
05:20 queued 02:47
created
EventSubscriber/DynamicRelationSubscriber.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @param CLassMetadata $metadata
60
+     * @param ClassMetadata $metadata
61 61
      * @param UnderscoreNamingStrategy $namingStrategy
62 62
      */
63 63
     public function mapProject(ClassMetadata $metadata, UnderscoreNamingStrategy $namingStrategy) {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param CLassMetadata $metadata
75
+     * @param ClassMetadata $metadata
76 76
      * @param UnderscoreNamingStrategy $namingStrategy
77 77
      */
78 78
     public function mapFeature(ClassMetadata $metadata, UnderscoreNamingStrategy $namingStrategy) {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param CLassMetadata $metadata
90
+     * @param ClassMetadata $metadata
91 91
      * @param UnderscoreNamingStrategy $namingStrategy
92 92
      */
93 93
     public function mapFeedback(ClassMetadata $metadata, UnderscoreNamingStrategy $namingStrategy) {
Please login to merge, or discard this patch.
Manager/ProjectManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     protected $slugger;
20 20
 
21 21
     /**
22
-     * @param Doctrine\ORM\EntityManager $em
22
+     * @param EntityManager $em
23 23
      * @param Slugger $slugger
24 24
      */
25 25
     public function __construct(EntityManager $em, Slugger $slugger) {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * @param string $name
52 52
      * @param UserInterface $productOwner
53
-     * @return \DevelopTech\AgilityBundle\ProjectModel
53
+     * @return \Developtech\AgilityBundle\Model\ProjectModel
54 54
      */
55 55
     public function createProject($name, UserInterface $productOwner) {
56 56
         $project =
Please login to merge, or discard this patch.
Tests/Manager/FeedbackManagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         $this->assertEquals(3, $this->manager->countFeedbacksPerStatus((new Project())->setId(1), Feedback::STATUS_OPEN));
72 72
     }
73 73
 
74
+    /**
75
+     * @return \Doctrine\ORM\EntityManager
76
+     */
74 77
     public function getEntityManagerMock() {
75 78
         $entityManagerMock = $this
76 79
             ->getMockBuilder('Doctrine\ORM\EntityManager')
Please login to merge, or discard this patch.
Tests/Manager/ProjectManagerTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         $this->manager->editProject(2, 'Unknown project', 'closed', 0);
64 64
     }
65 65
 
66
+    /**
67
+     * @return \Doctrine\ORM\EntityManager
68
+     */
66 69
     public function getEntityManagerMock() {
67 70
         $entityManagerMock = $this
68 71
             ->getMockBuilder('Doctrine\ORM\EntityManager')
@@ -118,7 +121,7 @@  discard block
 block discarded – undo
118 121
 
119 122
     /**
120 123
      * @param mixed $id
121
-     * @return Project|null
124
+     * @return null|\Developtech\AgilityBundle\Model\ProjectModel
122 125
      */
123 126
     public function getProjectMock($id) {
124 127
         if($id === 2) {
Please login to merge, or discard this patch.
Tests/Manager/FeatureManagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         $this->assertEquals(3, $this->manager->countFeedbacksPerStatus((new Project())->setId(1), Feedback::STATUS_OPEN));
72 72
     }
73 73
 
74
+    /**
75
+     * @return \Doctrine\ORM\EntityManager
76
+     */
74 77
     public function getEntityManagerMock() {
75 78
         $entityManagerMock = $this
76 79
             ->getMockBuilder('Doctrine\ORM\EntityManager')
Please login to merge, or discard this patch.
Model/JobModel.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
   /**
29 29
    * @param string $name
30
-   * @return FeatureModel
30
+   * @return JobModel
31 31
    */
32 32
   public function setName($name) {
33 33
       $this->name = $name;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
   /**
46 46
    * @param string $slug
47
-   * @return FeatureModel
47
+   * @return JobModel
48 48
    */
49 49
   public function setSlug($slug) {
50 50
       $this->slug = $slug;
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
   /**
63 63
    * @param string $description
64
-   * @return FeatureModel
64
+   * @return JobModel
65 65
    */
66 66
   public function setDescription($description) {
67 67
       $this->description = $description;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
   /**
80 80
    * @param ProjectModel $project
81
-   * @return FeatureModel
81
+   * @return JobModel
82 82
    */
83 83
   public function setProject(ProjectModel $project) {
84 84
       $this->project = $project;
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
   }
88 88
 
89 89
   /**
90
-   * @return FeatureModel
90
+   * @return ProjectModel
91 91
    */
92 92
   public function getProject() {
93 93
       return $this->project;
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
   /**
97 97
    * @param integer $status
98
-   * @return FeatureModel
98
+   * @return JobModel
99 99
    */
100 100
   public function setStatus($status) {
101 101
       $this->status = $status;
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
   /**
114 114
    * @param UserInterface $responsible
115
-   * @return FeatureModel
115
+   * @return JobModel
116 116
    */
117 117
   public function setResponsible(UserInterface $responsible = null) {
118 118
       $this->responsible = $responsible;
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
    *
134 134
    * @param \DateTime $createdAt
135 135
    *
136
-   * @return ProjectModel
136
+   * @return JobModel
137 137
    */
138 138
   public function setCreatedAt($createdAt)
139 139
   {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
    *
158 158
    * @param \DateTime $updatedAt
159 159
    *
160
-   * @return ProjectModel
160
+   * @return JobModel
161 161
    */
162 162
   public function setUpdatedAt($updatedAt)
163 163
   {
Please login to merge, or discard this patch.