Skip to content

Commit

Permalink
#10328 Replace TODOs with issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Oct 1, 2024
1 parent 070aa6f commit 4e0933e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion classes/announcement/Announcement.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ protected function scopeWithSearchPhrase(EloquentBuilder $builder, ?string $sear

/**
* Get the full title
* TODO temporary measure while AnnouncementType isn't refactored as Eloquent Model
*/
protected function fullTitle(): Attribute
{
Expand Down
3 changes: 1 addition & 2 deletions classes/core/SettingsBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function update(array $values)
$count = parent::update($primaryValues->toArray());
}

// TODO Eloquent transforms attributes to snake case, find and override instead of transforming here
// FIXME pkp/pkp-lib#10485 Eloquent transforms attributes to snake case, find and override instead of transforming here
$settingValues = $settingValues->mapWithKeys(
fn (mixed $value, string $key) => [Str::camel($key) => $value]
);
Expand Down Expand Up @@ -280,7 +280,6 @@ protected function getModelWithSettings(array|string $columns = ['*']): Collecti

/**
* If specific columns are selected to fill the Model with, iterate and filter all, which aren't specified
* TODO Instead of iterating through all row properties, we can force to pass primary key as a mandatory column?
*/
protected function filterRow(stdClass $row, string|array $columns = ['*']): stdClass
{
Expand Down

0 comments on commit 4e0933e

Please sign in to comment.