Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Sep 7, 2023
1 parent 0358f24 commit c9c4cd2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ public function getHtml()
return $this->content;
}

/**
* @param string $arg1
* @param never $arg2
*/
public function set($arg1 = null, $arg2 = null)

Check failure on line 28 in src/Text.php

View workflow job for this annotation

GitHub Actions / Smoke (latest, StaticAnalysis)

Default value of the parameter #2 $arg2 (null) of method Atk4\Ui\Text::set() is incompatible with type never.

Check failure on line 28 in src/Text.php

View workflow job for this annotation

GitHub Actions / Smoke (latest, StaticAnalysis)

Default value of the parameter #2 $arg2 (null) of method Atk4\Ui\Text::set() is incompatible with type never.
{
$this->content = $this->getApp()->encodeHtml($arg1);

Check failure on line 30 in src/Text.php

View workflow job for this annotation

GitHub Actions / Smoke (latest, StaticAnalysis)

Method Atk4\Ui\Text::set() should return $this(Atk4\Ui\Text) but return statement is missing.

Check failure on line 30 in src/Text.php

View workflow job for this annotation

GitHub Actions / Smoke (latest, StaticAnalysis)

Method Atk4\Ui\Text::set() should return $this(Atk4\Ui\Text) but return statement is missing.
}

/**
* Adds HTML paragraph.
*
Expand Down

0 comments on commit c9c4cd2

Please sign in to comment.