fix(journalist): remove $this
This commit is contained in:
parent
0167811e47
commit
2f8c862ee9
@ -38,11 +38,11 @@ protected function getHeaderActions(): array
|
|||||||
];
|
];
|
||||||
|
|
||||||
foreach ($documents as $field) {
|
foreach ($documents as $field) {
|
||||||
if (empty($this->data[$field])) {
|
if (empty($data[$field])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ((array) $this->data[$field] as $filePath) {
|
foreach ((array) $data[$field] as $filePath) {
|
||||||
$fullPath = Storage::disk(config('filesystems.default'))->path($filePath);
|
$fullPath = Storage::disk(config('filesystems.default'))->path($filePath);
|
||||||
|
|
||||||
if (! file_exists($fullPath)) {
|
if (! file_exists($fullPath)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user