[ticket/15699] Improve code style

PHPBB3-15699
This commit is contained in:
Ruben Calvo 2024-02-18 10:44:41 +01:00
parent bf467f8ece
commit 155b5168be
No known key found for this signature in database
5 changed files with 23 additions and 27 deletions

View file

@ -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 */

View file

@ -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
{

View file

@ -211,6 +211,4 @@ class state_helper
$this->config_text->set('storage_update_state', json_encode($state, JSON_THROW_ON_ERROR));
}
}