mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11444] Fix services definition
PHPBB3-11444
This commit is contained in:
@@ -23,7 +23,7 @@ services:
|
||||
- { name: service_collection, tag: notification.type }
|
||||
|
||||
notification.type.base:
|
||||
abstract: true
|
||||
abstract: true
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- @user
|
||||
@@ -45,7 +45,7 @@ services:
|
||||
notification.type.approve_post:
|
||||
class: phpbb\notification\type\approve_post
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.post
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
@@ -59,16 +59,14 @@ services:
|
||||
notification.type.bookmark:
|
||||
class: phpbb\notification\type\bookmark
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
calls:
|
||||
- [set_config, ["@config"]]
|
||||
parent: notification.type.post
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.disapprove_post:
|
||||
class: phpbb\notification\type\disapprove_post
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.post
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
@@ -118,14 +116,14 @@ services:
|
||||
notification.type.post_in_queue:
|
||||
class: phpbb\notification\type\post_in_queue
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.post
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.quote:
|
||||
class: phpbb\notification\type\quote
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.post
|
||||
calls:
|
||||
- [set_utils, [@text_formatter.utils]]
|
||||
tags:
|
||||
@@ -134,28 +132,28 @@ services:
|
||||
notification.type.report_pm:
|
||||
class: phpbb\notification\type\report_pm
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.pm
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.report_pm_closed:
|
||||
class: phpbb\notification\type\report_pm_closed
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.pm
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.report_post:
|
||||
class: phpbb\notification\type\report_post
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.post
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.report_post_closed:
|
||||
class: phpbb\notification\type\report_post_closed
|
||||
scope: prototype
|
||||
parent: notification.type.base
|
||||
parent: notification.type.post
|
||||
tags:
|
||||
- { name: notification.type }
|
||||
|
||||
|
Reference in New Issue
Block a user