File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,9 @@ protected function getRegistrationIds()
111111 /**
112112 * Return notification as an array.
113113 *
114- * @return array
114+ * @return array|null
115115 */
116- protected function getNotification (): array
116+ protected function getNotification ()
117117 {
118118 $ notification = $ this ->notification ? $ this ->notification ->toArray () : null ;
119119
@@ -123,9 +123,9 @@ protected function getNotification(): array
123123 /**
124124 * Return data as an array.
125125 *
126- * @return array
126+ * @return array|null
127127 */
128- protected function getData (): array
128+ protected function getData ()
129129 {
130130 $ data = $ this ->data ? $ this ->data ->toArray () : null ;
131131
@@ -135,9 +135,9 @@ protected function getData(): array
135135 /**
136136 * Return options as an array and merge topics as condition if there is more than one.
137137 *
138- * @return array
138+ * @return array|null
139139 */
140- protected function getOptions (): array
140+ protected function getOptions ()
141141 {
142142 $ options = $ this ->options ? $ this ->options ->toArray () : null ;
143143 if ($ this ->topics !== null && !$ this ->topics ->hasOnlyOneTopic ()) {
You can’t perform that action at this time.
0 commit comments