Skip to content

Commit 7d1ee08

Browse files
committed
Apply fixes from StyleCI
1 parent 04d543b commit 7d1ee08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/Repositories.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function createTag($project_id, string $name, string $ref, ?string $messa
153153
*/
154154
public function createRelease($project_id, string $tag_name, string $description, ?string $name = null)
155155
{
156-
return $this->post($this->getProjectPath($project_id, 'releases'), array_filter([
156+
return $this->post($this->getProjectPath($project_id, 'releases'), \array_filter([
157157
'id' => $project_id,
158158
'tag_name' => $tag_name,
159159
'description' => $description,
@@ -171,7 +171,7 @@ public function createRelease($project_id, string $tag_name, string $description
171171
*/
172172
public function updateRelease($project_id, string $tag_name, string $description, ?string $name = null)
173173
{
174-
return $this->put($this->getProjectPath($project_id, 'releases/'.self::encodePath($tag_name)), array_filter([
174+
return $this->put($this->getProjectPath($project_id, 'releases/'.self::encodePath($tag_name)), \array_filter([
175175
'id' => $project_id,
176176
'tag_name' => $tag_name,
177177
'description' => $description,

0 commit comments

Comments
 (0)