mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/15699] Improve code style
PHPBB3-15699
This commit is contained in:
@@ -33,13 +33,13 @@ if (!defined('IN_PHPBB'))
|
|||||||
|
|
||||||
class acp_storage
|
class acp_storage
|
||||||
{
|
{
|
||||||
/** @var driver_interface $db */
|
/** @var driver_interface */
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
/** @var language $log */
|
/** @var language */
|
||||||
protected $lang;
|
protected $lang;
|
||||||
|
|
||||||
/** @var log_interface $log */
|
/** @var log_interface */
|
||||||
protected $log;
|
protected $log;
|
||||||
|
|
||||||
/** @var request */
|
/** @var request */
|
||||||
|
@@ -299,10 +299,8 @@ class local implements adapter_interface, stream_interface
|
|||||||
* @param string $path The file
|
* @param string $path The file
|
||||||
*
|
*
|
||||||
* @return array Properties
|
* @return array Properties
|
||||||
* @throws storage_exception When cannot get size
|
|
||||||
*
|
*
|
||||||
* @throws storage_exception When cannot get size
|
* @throws storage_exception When cannot get size
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public function file_size(string $path): array
|
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));
|
$this->config_text->set('storage_update_state', json_encode($state, JSON_THROW_ON_ERROR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user