Completed
Pull Request — develop (#39)
by Axel
02:51
created
Manager/FeatureManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @return FeatureModel
42 42
      */
43 43
     public function getFeature($id) {
44
-        if(($feature = $this->em->getRepository(Feature::class)->find($id)) === null) {
44
+        if (($feature = $this->em->getRepository(Feature::class)->find($id)) === null) {
45 45
             throw new NotFoundHttpException('Feature not found');
46 46
         }
47 47
         return $feature;
Please login to merge, or discard this patch.
DataFixtures/ORM/LoadFeedbackData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /** @var ContainerInterface */
18 18
     private $container;
19 19
     /**
20
-     * @param ContainerInterface $container
20
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
21 21
      */
22 22
     public function setContainer(ContainerInterface $container = null) {
23 23
         $this->container = $container;
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.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * For the full copyright and license information, please view the LICENSE
8 8
  * file that was distributed with this source code.
9 9
  */
10
-if (!($loader = @include __DIR__ . '/../vendor/autoload.php')) {
10
+if (!($loader = @include __DIR__.'/../vendor/autoload.php')) {
11 11
     echo <<<EOT
12 12
 You need to install the project dependencies using Composer:
13 13
 $ wget http://getcomposer.org/composer.phar
Please login to merge, or discard this patch.