mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2025-09-09 02:04:33 +02:00
🚨 Clean code for linters
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Shikiryu\SRSS\Entity\Item;
|
||||
|
||||
use ReflectionException;
|
||||
use Shikiryu\SRSS\Entity\SRSSElement;
|
||||
use Shikiryu\SRSS\Validator\HasValidator;
|
||||
use Shikiryu\SRSS\Validator\Validator;
|
||||
@@ -27,7 +28,7 @@ class Enclosure extends HasValidator implements SRSSElement
|
||||
{
|
||||
try {
|
||||
return (new Validator())->isObjectValid($this);
|
||||
} catch (\ReflectionException $e) {
|
||||
} catch (ReflectionException) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user