зеркало из https://github.com/nextcloud/cookbook.git
Fix some psalm issues
Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Родитель
703ed9d8d3
Коммит
7051868bb4
|
@ -31,7 +31,8 @@ class NormalizeRecipeFileFilter {
|
|||
|
||||
foreach ($this->filters as $filter) {
|
||||
/** @var AbstractRecipeFilter $filter */
|
||||
$changed |= $filter->apply($json, $recipeFile);
|
||||
$ret = $filter->apply($json, $recipeFile);
|
||||
$changed = $changed || $ret;
|
||||
}
|
||||
|
||||
if ($changed && $updateFiles) {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
namespace OCA\Cookbook\Helper\Filter\Output;
|
||||
|
||||
use OCP\Files\File;
|
||||
use OCA\Cookbook\Helper\Filter\JSON\AbstractJSONFilter;
|
||||
|
||||
class RecipeJSONOutputFilter {
|
||||
/** @var array */
|
||||
|
|
Загрузка…
Ссылка в новой задаче