Skip to content

Commit e1af7eb

Browse files
code quality fixes
1 parent e453b08 commit e1af7eb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Endpoint/Provider/SugarEndpointProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ class SugarEndpointProvider extends VersionedEndpointProvider
166166
self::ENDPOINT_NAME => 'rest',
167167
self::ENDPOINT_CLASS => Rest::class,
168168
self::ENDPOINT_PROPERTIES => [],
169-
]
169+
],
170170
];
171171
}

src/Endpoint/Rest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* ©[2022] SugarCRM Inc. Licensed by SugarCRM under the Apache 2.0 license.
45
*/
@@ -22,11 +23,11 @@
2223
*/
2324
class Rest extends Generic
2425
{
25-
protected static array $_DEFAULT_PROPERTIES = array(
26+
protected static array $_DEFAULT_PROPERTIES = [
2627
self::PROPERTY_URL => '$endpoint',
2728
self::PROPERTY_AUTH => true,
28-
self::PROPERTY_HTTP_METHOD => "GET"
29-
);
29+
self::PROPERTY_HTTP_METHOD => "GET",
30+
];
3031

3132
protected array $headers = [];
3233

0 commit comments

Comments
 (0)