@@ -87,7 +87,6 @@ |
||
87 | 87 | /** |
88 | 88 | * Display the specified resource. |
89 | 89 | * |
90 | - * @param string $owner |
|
91 | 90 | * @param string $project_path |
92 | 91 | * |
93 | 92 | * @return \Illuminate\Http\Response |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $tags = preg_split('/ ?, ?/', $tags); |
75 | 75 | |
76 | 76 | // For every tag, do we need to create it? |
77 | - $projectTags = array_map(function ($taggable) use ($project) { |
|
77 | + $projectTags = array_map(function($taggable) use ($project) { |
|
78 | 78 | return Tag::firstOrCreate(['name' => $taggable])->id; |
79 | 79 | }, $tags); |
80 | 80 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function showAction($owner_path, $project_path) |
96 | 96 | { |
97 | - $project = Project::findByPath($owner_path,$project_path); |
|
97 | + $project = Project::findByPath($owner_path, $project_path); |
|
98 | 98 | |
99 | 99 | return View::make('projects.show') |
100 | 100 | ->withPageTitle($project->name) |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | */ |
162 | 162 | public static function findByPath($owner_path, $project_path, $columns = ['projects.*']) |
163 | 163 | { |
164 | - $project = static::leftJoin('owners', function ($join) { |
|
164 | + $project = static::leftJoin('owners', function($join) { |
|
165 | 165 | $join->on('projects.owner_id', '=', 'owners.id'); |
166 | 166 | })->where('projects.path', '=', $project_path)->where('owners.path', '=', $owner_path)->first($columns); |
167 | 167 | |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | */ |
216 | 216 | public function getTagsListAttribute() |
217 | 217 | { |
218 | - $tags = $this->tags->map(function ($tag) { |
|
218 | + $tags = $this->tags->map(function($tag) { |
|
219 | 219 | return $tag->name; |
220 | 220 | }); |
221 | 221 |