mirror of
https://github.com/j0k3r/php-readability.git
synced 2026-09-27 06:26:17 +00:00
Allow new psr/log & monolog
This commit is contained in:
+2
-2
@@ -26,12 +26,12 @@
|
||||
"require": {
|
||||
"php": ">=5.6.0",
|
||||
"ext-mbstring": "*",
|
||||
"psr/log": "^1.0",
|
||||
"psr/log": "^1.0.1 || ^2.0 || ^3.0",
|
||||
"masterminds/html5": "^2.7"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.14",
|
||||
"monolog/monolog": "^1.24|^2.1",
|
||||
"monolog/monolog": "^1.24|^2.1|^3.0",
|
||||
"symfony/phpunit-bridge": "^4.4|^5.3|^6.0|^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
|
||||
+1
-1
@@ -186,7 +186,7 @@ class Readability implements LoggerAwareInterface
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function setLogger(LoggerInterface $logger)
|
||||
public function setLogger(LoggerInterface $logger): void
|
||||
{
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user