Skip to content
Snippets Groups Projects
Commit b59de858 authored by Robert Lange's avatar Robert Lange
Browse files

refs #21064 [fid] final codefixer for Service

* $HOME/bin/codestylechecker/php-cs-fixer3 fix --config=$HOME/bin/codestylechecker/vufind.php-cs-fixer.php_cs module/fid/src/Service/
parent 7284ed98
No related merge requests found
......@@ -132,7 +132,7 @@ class Client
{
$this->locale = $locale;
}
/**
* Get if user is logged in
*
......@@ -275,7 +275,7 @@ class Client
return $result;
}
/**
* Get record by id
*
......@@ -646,7 +646,7 @@ class Client
return $this->session['users'] = array_combine($keys, $list);
}
/**
* Empty user list from session
*
......@@ -903,7 +903,7 @@ class Client
throw new ClientException(self::ERRMSG_HTTPCLIENT, 0, $exception);
}
}
/**
* Build request object
*
......@@ -981,7 +981,7 @@ class Client
$this->cookies->set('finc_fid_logon', null);
throw new ClientException('Missing or expired logon.', 401);
}
/**
* Store logon
*
......@@ -997,7 +997,7 @@ class Client
$logon->setToken($token);
return $logon;
}
/**
* Parse logon
*
......
......@@ -135,7 +135,7 @@ class Address
{
return $this->id;
}
/**
* Get address identifier
*
......@@ -147,7 +147,7 @@ class Address
{
$this->id = $id;
}
/**
* Set user
*
......@@ -159,7 +159,7 @@ class Address
{
$this->user = $user;
}
/**
* Get user
*
......@@ -169,7 +169,7 @@ class Address
{
return $this->user;
}
/**
* Get first line
*
......@@ -279,7 +279,7 @@ class Address
{
$this->country = $country;
}
/**
* Represent object as a string
*
......@@ -291,7 +291,7 @@ class Address
. $this->line2 . '; ' . $this->zip . ' '
. $this->city . '; ' . $this->country;
}
/**
* Check if line1, zip and city is set
*
......
......@@ -269,7 +269,7 @@ class Order
{
$this->createdAt = $createdAt;
}
/**
* Get order label
*
......@@ -279,7 +279,7 @@ class Order
{
return $this->getLabel();
}
/**
* Get due date
*
......@@ -308,7 +308,7 @@ class Order
$data['dueDate'] = $date->format(self::DATETIME_FORMAT);
$this->setData($data);
}
/**
* Get due date as string d.m.Y.
*
......@@ -318,7 +318,7 @@ class Order
{
return $this->getDueDate() ? $this->getDueDate()->format('d.m.Y') : '';
}
/**
* Check due date
*
......@@ -357,7 +357,7 @@ class Order
$this->data['status'] = $status;
}
}
/**
* Get record identifier
*
......
......@@ -642,7 +642,7 @@ class User
{
$this->permissions = $permissions;
}
/**
* Check is user has given permission
*
......@@ -691,7 +691,7 @@ class User
{
return 'FID' . str_pad($this->getId(), 10, "0", STR_PAD_LEFT);
}
/**
* Get all properties except password
*
......@@ -708,7 +708,7 @@ class User
}
return $fields;
}
/**
* Export user data as string
*
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment