Skip to content
Snippets Groups Projects

php8 only; added variable types; short array syntax; remove glyphicons

Merged Hahn Axel (hahn) requested to merge 7359-update-php83 into master
2 files
+ 43
18
Compare changes
  • Side-by-side
  • Inline

Files

<?php
/**
* interface for user authentication
*
* @author axel.hahn@iml.unibe.ch
*
* Axel <axel.hahn@unibe.ch>
* 2024-08-29 Axel php8 only; added variable types; use short array syntax
*/
interface iUserAuth {
interface iUserAuth
{
/**
* verify if a given user and password combination is correct
* Verify if a given user and password combination is correct
*
* @param string $sUser username
* @param string $sPassword password
* @return boolean
*/
public function authenticate($sUser, $sPassword);
public function authenticate(string $sUser, string $sPassword): bool;
}
\ No newline at end of file
Loading