mirror of
https://github.com/Karaka-Management/oms-ClientManagement.git
synced 2026-01-22 20:58:40 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
3491fd57bc
commit
e1ddb994a1
|
|
@ -79,7 +79,7 @@ class Client
|
|||
|
||||
public function setReverseNumber($rev_no) : void
|
||||
{
|
||||
if (!is_scalar($rev_no)) {
|
||||
if (!\is_scalar($rev_no)) {
|
||||
throw new \Exception();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -75,8 +75,12 @@ final class ClientMapper extends DataMapperAbstract
|
|||
'mapper' => ProfileMapper::class,
|
||||
'src' => 'clientmgmt_client_account',
|
||||
],
|
||||
];
|
||||
|
||||
]; /**
|
||||
* Has many relation.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $hasMany = [
|
||||
'files' => [
|
||||
'mapper' => MediaMapper::class, /* mapper of the related object */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user