mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15699] Improve code style
PHPBB3-15699
This commit is contained in:
parent
c366086661
commit
2ec1c3d279
5 changed files with 23 additions and 27 deletions
|
@ -33,13 +33,13 @@ if (!defined('IN_PHPBB'))
|
|||
|
||||
class acp_storage
|
||||
{
|
||||
/** @var driver_interface $db */
|
||||
/** @var driver_interface */
|
||||
protected $db;
|
||||
|
||||
/** @var language $log */
|
||||
/** @var language */
|
||||
protected $lang;
|
||||
|
||||
/** @var log_interface $log */
|
||||
/** @var log_interface */
|
||||
protected $log;
|
||||
|
||||
/** @var request */
|
||||
|
|
|
@ -299,10 +299,8 @@ class local implements adapter_interface, stream_interface
|
|||
* @param string $path The file
|
||||
*
|
||||
* @return array Properties
|
||||
* @throws storage_exception When cannot get size
|
||||
*
|
||||
* @throws storage_exception When cannot get size
|
||||
*
|
||||
*/
|
||||
public function file_size(string $path): array
|
||||
{
|
||||
|
|
|
@ -211,6 +211,4 @@ class state_helper
|
|||
$this->config_text->set('storage_update_state', json_encode($state, JSON_THROW_ON_ERROR));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue