Skip to content

Commit

Permalink
Merge pull request #254 from arlen/nojira-allowNullCoIDAutoViewVars
Browse files Browse the repository at this point in the history
Allow null coid for AutoViewVarsTrait (nojira)
  • Loading branch information
Ioannis authored Nov 23, 2024
2 parents b68282f + cce29b6 commit 6c2e6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Lib/Traits/AutoViewVarsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function setAutoViewVars($vars) {
* @return \Generator
* @since COmanage Registry v5.0.0
*/
public function calculateAutoViewVars(int $coId, Object $obj = null): \Generator
public function calculateAutoViewVars(int|null $coId, Object $obj = null): \Generator
{
// $table = the actual table object
$table = $this;
Expand Down

0 comments on commit 6c2e6a4

Please sign in to comment.