Skip to content

Commit

Permalink
Allow null coid for AutoViewVarsTrait (nojira)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored and Ioannis committed Dec 15, 2024
1 parent a944cee commit 673a17f
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 673a17f

Please sign in to comment.