Skip to content

Commit 12f6571

Browse files
committed
cs fix
1 parent dda172d commit 12f6571

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

app/RemoteSite/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function performExtractionRequest(array $requestData): array
7070
return $this->decodeResponse($response, $request);
7171
}
7272

73-
protected function performWebserviceRequest(
73+
public function performWebserviceRequest(
7474
HttpMethod $method,
7575
string $endpoint,
7676
?array $requestData = null

database/migrations/2024_11_17_115646_remove_patch_minor_columns_from_sites.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class () extends Migration {
98
/**
109
* Run the migrations.
1110
*/

tests/Feature/Api/SiteControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function testRegisteringASiteWithUrlAndKeyCreatesRow(): void
3939
"server_os" => "Joomla OS 1.0.0"
4040
]));
4141

42-
$this->app->bind(Connection::class, fn() => $mock);
42+
$this->app->bind(Connection::class, fn () => $mock);
4343

4444
$response = $this->postJson(
4545
'/api/v1/register',
@@ -64,7 +64,7 @@ public function testRegisteringASiteFailsWhenHealthCheckFails(): void
6464

6565
$mock->method('__call')->willThrowException(new \Exception());
6666

67-
$this->app->bind(Connection::class, fn() => $mock);
67+
$this->app->bind(Connection::class, fn () => $mock);
6868

6969
$response = $this->postJson(
7070
'/api/v1/register',

0 commit comments

Comments
 (0)