Skip to content

Commit 3d78820

Browse files
committed
Fix formatting in remove method and project removal test
1 parent 9038f17 commit 3d78820

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Api/Projects.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,13 @@ public function update(int|string $project_id, array $parameters): mixed
194194
return $this->put('projects/'.self::encodePath($project_id), $parameters);
195195
}
196196

197-
public function remove(int|string $project_id, bool $permanent = false, string $fullPath = ""): mixed
197+
public function remove(int|string $project_id, bool $permanent = false, string $fullPath = ''): mixed
198198
{
199199
$params = [];
200200
if ($permanent) {
201201
$params = [
202202
'permanently_remove' => true,
203-
'full_path' => $fullPath
203+
'full_path' => $fullPath,
204204
];
205205
}
206206
return $this->delete('projects/'.self::encodePath($project_id), $params);

tests/Api/ProjectsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ public function shouldRemoveProjectPermanently(): void
357357
->willReturn(true);
358358

359359
$this->assertEquals($expectedBool, $api->remove(1, true, 'full/path/to/project'));
360-
361360
}
362361

363362
#[Test]

0 commit comments

Comments
 (0)