Skip to content

Commit 26952f8

Browse files
committed
Set minimum required PHP to 7.1
1 parent 61b5fc1 commit 26952f8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": ">=7.2.0"
24+
"php": ">=7.1.0"
2525
},
2626
"conflict": {
2727
"phpunit/phpunit": "<8.0 || >= 10.0"

src/SoftCreatR/MimeDetector/MimeDetector.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ public function __construct()
103103
* Setter for the file to be checked.
104104
*
105105
* @throws MimeDetectorException
106-
*
107-
* @return MimeDetector
108106
*/
109107
public function setFile(string $filePath): self
110108
{
@@ -1175,8 +1173,6 @@ public function toBytes(string $str): array
11751173
* However, the byte cache should have at least a length of 4 for a proper detection.
11761174
*
11771175
* @throws MimeDetectorException
1178-
*
1179-
* @return MimeDetector
11801176
*/
11811177
public function setByteCacheMaxLength(int $maxLength): self
11821178
{

0 commit comments

Comments
 (0)