@@ -121,7 +121,7 @@ |
||
| 121 | 121 | * @return Project|null |
| 122 | 122 | */ |
| 123 | 123 | public function getProjectMock($id) { |
| 124 | - if($id === 2) { |
|
| 124 | + if ($id === 2) { |
|
| 125 | 125 | return null; |
| 126 | 126 | } |
| 127 | 127 | return |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * @param string $name |
| 52 | - * @param string $description |
|
| 52 | + * @param string $description |
|
| 53 | 53 | * @param UserInterface $productOwner |
| 54 | 54 | * @return \DevelopTech\AgilityBundle\ProjectModel |
| 55 | 55 | */ |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | (new Project()) |
| 59 | 59 | ->setName($name) |
| 60 | 60 | ->setSlug($this->slugger->slugify($name)) |
| 61 | - ->setDescription($description) |
|
| 61 | + ->setDescription($description) |
|
| 62 | 62 | ->setProductOwner($productOwner) |
| 63 | 63 | ; |
| 64 | 64 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | /** |
| 72 | 72 | * @param integer $id |
| 73 | 73 | * @param string $name |
| 74 | - * @param string $description |
|
| 74 | + * @param string $description |
|
| 75 | 75 | * @param UserInterface $productOwner |
| 76 | 76 | * @throws NotFoundHttpException |
| 77 | 77 | * @return ProjectModel |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $project |
| 84 | 84 | ->setName($name) |
| 85 | 85 | ->setSlug($this->slugger->slugify($name)) |
| 86 | - ->setDescription($description) |
|
| 86 | + ->setDescription($description) |
|
| 87 | 87 | ; |
| 88 | 88 | if($productOwner !== null) { |
| 89 | 89 | $project->setProductOwner($productOwner); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function getProject($slug) { |
| 43 | 43 | $project = $this->em->getRepository(Project::class)->findOneBySlug($slug); |
| 44 | - if($project === null) { |
|
| 44 | + if ($project === null) { |
|
| 45 | 45 | throw new NotFoundHttpException('Project not found'); |
| 46 | 46 | } |
| 47 | 47 | return $project; |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | ->setSlug($this->slugger->slugify($name)) |
| 86 | 86 | ->setDescription($description) |
| 87 | 87 | ; |
| 88 | - if($productOwner !== null) { |
|
| 88 | + if ($productOwner !== null) { |
|
| 89 | 89 | $project->setProductOwner($productOwner); |
| 90 | 90 | } |
| 91 | 91 | |