Skip to content

Commit 979652d

Browse files
committed
Syntax Fixes
1 parent 04170f1 commit 979652d

22 files changed

+184
-209
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
],
2121
"require": {
22-
"php": "^8.1",
22+
"php": "^8.2",
2323
"guzzlehttp/guzzle": "^7.0",
2424
"illuminate/contracts": "^10.0|^11.0",
2525
"illuminate/support": "^10.0|^11.0"

config/property-data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'base_url' => env('PROPERTY_DATA_API_URL', 'https://api.propertydata.co.uk'),
2626
'key' => env('PROPERTY_DATA_API_KEY', ''),
2727
'timeout' => env('PROPERTY_DATA_API_TIMEOUT', 30),
28-
28+
2929
/*
3030
|--------------------------------------------------------------------------
3131
| Retry Configuration
@@ -53,4 +53,4 @@
5353
'enabled' => env('PROPERTY_DATA_LOGGING_ENABLED', true),
5454
'channel' => env('PROPERTY_DATA_LOG_CHANNEL', config('logging.default')),
5555
],
56-
];
56+
];

src/Enums/DecisionRating.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ enum DecisionRating: string
99
case POSITIVE = 'positive';
1010
case NEGATIVE = 'negative';
1111
case NEUTRAL = 'neutral';
12-
}
12+
}

src/Enums/FinishQuality.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ enum FinishQuality: string
99
case PREMIUM = 'premium';
1010
case MEDIUM = 'medium';
1111
case BASIC = 'basic';
12-
}
12+
}

src/Enums/ProjectType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ enum ProjectType: string
88
{
99
case REFURBISH = 'refurbish';
1010
case DEMOLITION = 'demolition';
11-
}
11+
}

src/Exceptions/PropertyDataApiException.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ class PropertyDataApiException extends Exception
1010
{
1111
/**
1212
* Create a new PropertyDataApiException instance.
13-
*
14-
* @param string $message
15-
* @param int $code
16-
* @param \Throwable|null $previous
1713
*/
1814
public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null)
1915
{
@@ -22,8 +18,6 @@ public function __construct(string $message = '', int $code = 0, ?\Throwable $pr
2218

2319
/**
2420
* Get the exception context for logging.
25-
*
26-
* @return array
2721
*/
2822
public function getContext(): array
2923
{
@@ -34,4 +28,4 @@ public function getContext(): array
3428
'line' => $this->getLine(),
3529
];
3630
}
37-
}
31+
}

src/Exceptions/PropertyDataAuthenticationException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
class PropertyDataAuthenticationException extends PropertyDataApiException
88
{
99
//
10-
}
10+
}

src/Exceptions/PropertyDataConnectionException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
class PropertyDataConnectionException extends PropertyDataApiException
88
{
99
//
10-
}
10+
}

src/Exceptions/PropertyDataRateLimitException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
class PropertyDataRateLimitException extends PropertyDataApiException
88
{
99
//
10-
}
10+
}

src/Exceptions/PropertyDataServerException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
class PropertyDataServerException extends PropertyDataApiException
88
{
99
//
10-
}
10+
}

0 commit comments

Comments
 (0)