Skip to content

Commit 28ec869

Browse files
committed
Remove whitespace
1 parent 06154da commit 28ec869

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/RemoteRequest/CurlRemoteGetRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static function ($curl, $header) use (&$headers) {
136136
$status = curl_getinfo($curlHandle, CURLINFO_HTTP_CODE);
137137

138138
$curlErrno = curl_errno($curlHandle);
139-
if ( PHP_VERSION_ID < 80000 ) {
139+
if (PHP_VERSION_ID < 80000) {
140140
curl_close($curlHandle);
141141
}
142142

tests/Optimizer/SpecTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ private function getTransformer($scenario, $transformerClass, $configuration)
340340
private function callPrivateMethod($object, $methodName, $args = [])
341341
{
342342
$method = (new ReflectionClass($object))->getMethod($methodName);
343-
if ( PHP_VERSION_ID < 80100 ) {
343+
if (PHP_VERSION_ID < 80100) {
344344
$method->setAccessible(true);
345345
}
346346

tests/Optimizer/TransformationEngineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private function getTransformationEngine(?Configuration $configuration = null)
151151
private function getPrivateProperty($object, $propertyName)
152152
{
153153
$property = ( new ReflectionClass($object) )->getProperty($propertyName);
154-
if ( PHP_VERSION_ID < 80100 ) {
154+
if (PHP_VERSION_ID < 80100) {
155155
$property->setAccessible(true);
156156
}
157157
return $property->getValue($object);

tests/src/PrivateAccess.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ trait PrivateAccess
2626
private function callPrivateMethod($object, $methodName, $args = [])
2727
{
2828
$method = ( new ReflectionClass($object) )->getMethod($methodName);
29-
if ( PHP_VERSION_ID < 80100 ) {
29+
if (PHP_VERSION_ID < 80100) {
3030
$method->setAccessible(true);
3131
}
3232
return $method->invokeArgs($object, $args);
@@ -59,7 +59,7 @@ private function callPrivateStaticMethod($class, $methodName, $args = [])
5959
private function setPrivateProperty($object, $propertyName, $value)
6060
{
6161
$property = ( new ReflectionClass($object) )->getProperty($propertyName);
62-
if ( PHP_VERSION_ID < 80100 ) {
62+
if (PHP_VERSION_ID < 80100) {
6363
$property->setAccessible(true);
6464
}
6565

@@ -79,7 +79,7 @@ private function setPrivateProperty($object, $propertyName, $value)
7979
private function getPrivateProperty($object, $propertyName)
8080
{
8181
$property = ( new ReflectionClass($object) )->getProperty($propertyName);
82-
if ( PHP_VERSION_ID < 80100 ) {
82+
if (PHP_VERSION_ID < 80100) {
8383
$property->setAccessible(true);
8484
}
8585

0 commit comments

Comments
 (0)