Skip to content

Commit

Permalink
chore: declare visibility on class constants, bump composer version
Browse files Browse the repository at this point in the history
  • Loading branch information
joramkruijer committed May 31, 2024
1 parent a057fa2 commit 774c54b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor/
.idea/
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "LGPL v2.1",
"description": "NOva REST for the wicked",
"type": "library",
"version": "1.0.0",
"version": "1.1.0",
"authors": [
{
"name": "Jur van den Berg",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
*/
class Client
{
const NO_LOWERCASE_HEADERS = 'nolowercase';
public const NO_LOWERCASE_HEADERS = 'nolowercase';

const CONTENT_TYPE_HEADER = 'content-type';
protected const CONTENT_TYPE_HEADER = 'content-type';

const SUPPORTED_CONTENT_TYPES = [
protected const SUPPORTED_CONTENT_TYPES = [
'application/json',
'application/xml',
'text/plain',
Expand Down

0 comments on commit 774c54b

Please sign in to comment.