Skip to content

Commit

Permalink
phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Jun 25, 2021
1 parent 8358661 commit a58bff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/Form/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ class User implements Form {
*/
protected $form;

/**
* @param array $data
* @param bool $is_new
*/
public function __construct(array $data = [], $is_new = false) {

$this->form = new \Zend_Form();
Expand Down
1 change: 1 addition & 0 deletions include/UserAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ private function mkpass(string $passwd) : string
} elseif ($mode == "sha1") {
$ret = sha1($passwd);
} elseif ($mode == "argon2i") {

/**
* @psalm-suppress InvalidScalarArgument
*/
Expand Down

0 comments on commit a58bff8

Please sign in to comment.