@@ -27,12 +27,12 @@ discard block |
||
| 27 | 27 | protected $pages_table; |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * Constructor |
|
| 31 | - * |
|
| 32 | - * @param \phpbb\db\driver\driver_interface $db Database connection |
|
| 33 | - * @param string $pages_table Table name |
|
| 34 | - * @access public |
|
| 35 | - */ |
|
| 30 | + * Constructor |
|
| 31 | + * |
|
| 32 | + * @param \phpbb\db\driver\driver_interface $db Database connection |
|
| 33 | + * @param string $pages_table Table name |
|
| 34 | + * @access public |
|
| 35 | + */ |
|
| 36 | 36 | public function __construct(driver_interface $db, $pages_table) |
| 37 | 37 | { |
| 38 | 38 | $this->db = $db; |
@@ -40,15 +40,15 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * Loads routes defined in directory_cats database. |
|
| 44 | - * |
|
| 45 | - * @param string $resource Resource (not used, but required by parent interface) |
|
| 46 | - * @param string|null $type The resource type |
|
| 47 | - * |
|
| 48 | - * @return RouteCollection A RouteCollection instance |
|
| 49 | - * |
|
| 50 | - * @api |
|
| 51 | - */ |
|
| 43 | + * Loads routes defined in directory_cats database. |
|
| 44 | + * |
|
| 45 | + * @param string $resource Resource (not used, but required by parent interface) |
|
| 46 | + * @param string|null $type The resource type |
|
| 47 | + * |
|
| 48 | + * @return RouteCollection A RouteCollection instance |
|
| 49 | + * |
|
| 50 | + * @api |
|
| 51 | + */ |
|
| 52 | 52 | public function load($resource, $type = null) |
| 53 | 53 | { |
| 54 | 54 | $collection = new RouteCollection(); |
@@ -86,10 +86,10 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * {@inheritdoc} |
|
| 90 | - * |
|
| 91 | - * @api |
|
| 92 | - */ |
|
| 89 | + * {@inheritdoc} |
|
| 90 | + * |
|
| 91 | + * @api |
|
| 92 | + */ |
|
| 93 | 93 | public function supports($resource, $type = null) |
| 94 | 94 | { |
| 95 | 95 | return $type === 'ernadoo_phpbbdirectory_route'; |