Skip to content

Commit 544d986

Browse files
authored
Merge pull request #3 from ker0x/develop
remove return type hinting for methods in class Request
2 parents a84dd51 + 3ded711 commit 544d986

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Request/Request.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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()) {

0 commit comments

Comments
 (0)