1
0
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:
2023-04-12 15:28:38 +02:00
parent 08138992fd
commit 3419e7d46c
23 changed files with 185 additions and 260 deletions

View File

@@ -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;
}
}