@@ -14,12 +14,12 @@ |
||
| 14 | 14 | class nestedset extends builder |
| 15 | 15 | { |
| 16 | 16 | /** |
| 17 | - * Construct |
|
| 18 | - * |
|
| 19 | - * @param \phpbb\db\driver\driver_interface $db Database connection |
|
| 20 | - * @param \phpbb\lock\db $lock Lock class used to lock the table when moving forums around |
|
| 21 | - * @param string $table_name Table name |
|
| 22 | - */ |
|
| 17 | + * Construct |
|
| 18 | + * |
|
| 19 | + * @param \phpbb\db\driver\driver_interface $db Database connection |
|
| 20 | + * @param \phpbb\lock\db $lock Lock class used to lock the table when moving forums around |
|
| 21 | + * @param string $table_name Table name |
|
| 22 | + */ |
|
| 23 | 23 | public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\lock\db $lock, $table_name) |
| 24 | 24 | { |
| 25 | 25 | parent::__construct( |
@@ -15,11 +15,11 @@ discard block |
||
| 15 | 15 | protected $user; |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * Constructor |
|
| 19 | - * |
|
| 20 | - * @param \phpbb\user $user |
|
| 21 | - * @return \phpbb\template\twig\extension |
|
| 22 | - */ |
|
| 18 | + * Constructor |
|
| 19 | + * |
|
| 20 | + * @param \phpbb\user $user |
|
| 21 | + * @return \phpbb\template\twig\extension |
|
| 22 | + */ |
|
| 23 | 23 | public function __construct(\phpbb\user $user) |
| 24 | 24 | { |
| 25 | 25 | $this->user = $user; |
@@ -36,14 +36,14 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * Format user date |
|
| 40 | - * |
|
| 41 | - * @param int $gmepoch unix timestamp |
|
| 42 | - * @param string $format date format in date() notation. | used to indicate relative dates, for example |d m Y|, h:i is translated to Today, h:i. |
|
| 43 | - * @param bool $forcedate force non-relative date format. |
|
| 44 | - * |
|
| 45 | - * @return mixed translated date |
|
| 46 | - */ |
|
| 39 | + * Format user date |
|
| 40 | + * |
|
| 41 | + * @param int $gmepoch unix timestamp |
|
| 42 | + * @param string $format date format in date() notation. | used to indicate relative dates, for example |d m Y|, h:i is translated to Today, h:i. |
|
| 43 | + * @param bool $forcedate force non-relative date format. |
|
| 44 | + * |
|
| 45 | + * @return mixed translated date |
|
| 46 | + */ |
|
| 47 | 47 | public function format_date_filter($timestamp, $format = false, $forcedate = false) |
| 48 | 48 | { |
| 49 | 49 | return $this->user->format_date($timestamp, $format, $forcedate); |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * return bool |
| 46 | - */ |
|
| 46 | + */ |
|
| 47 | 47 | protected function image_directory_is_ready() |
| 48 | 48 | { |
| 49 | 49 | $root_path = $this->container->getParameter('core.root_path'); |
@@ -82,8 +82,7 @@ |
||
| 82 | 82 | \phpbb\request\request_interface $request, |
| 83 | 83 | \phpbb\pagination $pagination, |
| 84 | 84 | \phpbb\template\template $template |
| 85 | - ) |
|
| 86 | - { |
|
| 85 | + ) { |
|
| 87 | 86 | parent::__construct($auth, $content_visibility, $translator, $user, $truncator, $date_range, $forum_data, $forum_options, $phpbb_root_path, $php_ext); |
| 88 | 87 | |
| 89 | 88 | $this->cache = $cache; |