File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
{
22
"name": "ph-7/php-http-response-header",
3-
"description": "A simple package to send HTTP header responses.",
3+
"description": "A simple package to send HTTP header responses from your PHP application",
44
"keywords": [
55
"HTTP status code",
66
"status code",
7-
"HTTP status codes",
7+
"HTTP response",
88
"http",
99
"response",
10-
"HTTP header"
10+
"HTTP header",
11+
"headers",
12+
"HTTP status"
1113
],
12-
"homepage": "https://pierrehenry.be",
14+
"homepage": "https://.com/pH-7/php-http-header-response",
1315
"type": "library",
1416
"license": "MIT",
1517
"authors": [
1618
{
1719
"name": "Pierre-Henry Soria",
1820
"email": "[email protected]",
19-
"homepage": "https://.com/pH-7"
21+
"homepage": "https://ph7.me"
2022
}
2123
],
2224
"require": {
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php
22
/**
3-
* @author Pierre-Henry Soria <[email protected]>
4-
* @license MIT License
3+
* @author Pierre-Henry Soria <[email protected]>
4+
* @website https://pH7.me
5+
* @license MIT License
56
*/
67

78
namespace PH7\PhpHttpResponseHeader;
@@ -11,4 +12,4 @@
1112
class Exception extends RuntimeException
1213
{
1314

14-
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php
22
/**
3-
* @author Pierre-Henry Soria <[email protected]>
4-
* @license MIT License
3+
* @author Pierre-Henry Soria <[email protected]>
4+
* @website https://pH7.me
5+
* @license MIT License
56
*/
67

78
declare(strict_types=1);
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php
22
/**
3-
* @author Pierre-Henry Soria <[email protected]>
4-
* @license MIT License
3+
* @author Pierre-Henry Soria <[email protected]>
4+
* @website https://pH7.me
5+
* @license MIT License
56
*/
67

78
declare(strict_types=1);
@@ -26,4 +27,4 @@ public static function getVariable(?string $sKey = null, ?string $sDefVal = null
2627

2728
return !empty($_SERVER[$sKey]) ? htmlspecialchars((string)$_SERVER[$sKey], ENT_QUOTES) : $sDefVal;
2829
}
29-
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php
22
/**
3-
* @author Pierre-Henry Soria <[email protected]>
4-
* @license MIT License
3+
* @author Pierre-Henry Soria <[email protected]>
4+
* @website https://pH7.me
5+
* @license MIT License
56
*/
67

78
declare(strict_types=1);
@@ -105,4 +106,4 @@ public static function invalidStatusCodesProvider(): array
105106
[600, 1000, 0, 1, 1010]
106107
];
107108
}
108-
}
109+
}

0 commit comments

Comments
 (0)