mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
Quick backup before crash
This commit is contained in:
parent
e2e5e08378
commit
28053fad4e
|
|
@ -62,10 +62,10 @@ final class Installer extends InstallerAbstract
|
|||
/**
|
||||
* Install default attribute types
|
||||
*
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param array<array{name:string, l11n?:array<string, string>, is_required?:bool, is_custom_allowed?:bool, validation_pattern?:string, value_type?:string, values?:array<string, mixed>}> $attributes Attribute definition
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param array $attributes Attribute definition
|
||||
*
|
||||
* @return array<string, array>
|
||||
* @return array
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -126,11 +126,11 @@ final class Installer extends InstallerAbstract
|
|||
/**
|
||||
* Create default attribute values for types
|
||||
*
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param array $taskAttrType Attribute types
|
||||
* @param array<array{name:string, l11n?:array<string, string>, is_required?:bool, is_custom_allowed?:bool, validation_pattern?:string, value_type?:string, values?:array<string, mixed>}> $attributes Attribute definition
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param array $taskAttrType Attribute types
|
||||
* @param array $attributes Attribute definition
|
||||
*
|
||||
* @return array<string, array>
|
||||
* @return array
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ final class ApiController extends Controller
|
|||
$this->createModel($request->header->account, $ref, ReferenceMapper::class, 'media_reference', $request->getOrigin());
|
||||
|
||||
if ($collection === null) {
|
||||
/** @var \Modules\Media\Models\Media $media */
|
||||
/** @var \Modules\Media\Models\Collection $collection */
|
||||
$collection = MediaMapper::getParentCollection($path)->limit(1)->execute();
|
||||
|
||||
if ($collection->id === 0) {
|
||||
|
|
@ -232,7 +232,7 @@ final class ApiController extends Controller
|
|||
$this->createModel($request->header->account, $ref, ReferenceMapper::class, 'media_reference', $request->getOrigin());
|
||||
|
||||
if ($collection === null) {
|
||||
/** @var \Modules\Media\Models\Media $media */
|
||||
/** @var \Modules\Media\Models\Collection $collection */
|
||||
$collection = MediaMapper::getParentCollection($path)->limit(1)->execute();
|
||||
|
||||
if ($collection->id === 0) {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ return ['Tasks' => [
|
|||
'Year' => 'Year',
|
||||
'YourOpen' => 'Your Open',
|
||||
'OpenGiven' => 'Open Given',
|
||||
'All' => 'All',
|
||||
'For' => 'For',
|
||||
'UnreadChanges' => 'Unread Changes',
|
||||
'Unread' => 'Unread',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user