mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-22 03:34:46 +02:00
refactor: drop usage of Debug::log (#4202)
* refactor: drop usage of Debug::log * lint
This commit is contained in:
parent
6afd13eb06
commit
2acd415475
20 changed files with 37 additions and 105 deletions
|
@ -192,7 +192,7 @@ final class BridgeCard
|
|||
{
|
||||
$required = $entry['required'] ?? null;
|
||||
if ($required) {
|
||||
Debug::log('The "required" attribute is not supported for lists.');
|
||||
trigger_error('The required attribute is not supported for lists');
|
||||
unset($entry['required']);
|
||||
}
|
||||
|
||||
|
@ -235,7 +235,7 @@ final class BridgeCard
|
|||
{
|
||||
$required = $entry['required'] ?? null;
|
||||
if ($required) {
|
||||
Debug::log('The "required" attribute is not supported for checkboxes.');
|
||||
trigger_error('The required attribute is not supported for checkboxes');
|
||||
unset($entry['required']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue