Passed
Push — master ( 410431...1494d3 )
by Atanas
03:46
created
src/Requests/Request.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	/**
99 99
 	 * Check if the request method is GET.
100 100
 	 *
101
-	 * @return string
101
+	 * @return boolean
102 102
 	 */
103 103
 	public function isGet() {
104 104
 		return $this->getMethod() === 'GET';
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	/**
108 108
 	 * Check if the request method is HEAD.
109 109
 	 *
110
-	 * @return string
110
+	 * @return boolean
111 111
 	 */
112 112
 	public function isHead() {
113 113
 		return $this->getMethod() === 'HEAD';
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	/**
117 117
 	 * Check if the request method is POST.
118 118
 	 *
119
-	 * @return string
119
+	 * @return boolean
120 120
 	 */
121 121
 	public function isPost() {
122 122
 		return $this->getMethod() === 'POST';
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	/**
126 126
 	 * Check if the request method is PUT.
127 127
 	 *
128
-	 * @return string
128
+	 * @return boolean
129 129
 	 */
130 130
 	public function isPut() {
131 131
 		return $this->getMethod() === 'PUT';
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 	/**
135 135
 	 * Check if the request method is PATCH.
136 136
 	 *
137
-	 * @return string
137
+	 * @return boolean
138 138
 	 */
139 139
 	public function isPatch() {
140 140
 		return $this->getMethod() === 'PATCH';
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	/**
144 144
 	 * Check if the request method is DELETE.
145 145
 	 *
146
-	 * @return string
146
+	 * @return boolean
147 147
 	 */
148 148
 	public function isDelete() {
149 149
 		return $this->getMethod() === 'DELETE';
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	/**
153 153
 	 * Check if the request method is OPTIONS.
154 154
 	 *
155
-	 * @return string
155
+	 * @return boolean
156 156
 	 */
157 157
 	public function isOptions() {
158 158
 		return $this->getMethod() === 'OPTIONS';
Please login to merge, or discard this patch.