File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,11 @@ protected function needsCompile($out, &$etag)
166
166
/**
167
167
* Get If-Modified-Since header from client request
168
168
*
169
- * @return string|null
169
+ * @return string
170
170
*/
171
171
protected function getIfModifiedSinceHeader ()
172
172
{
173
- $ modifiedSince = null ;
173
+ $ modifiedSince = '' ;
174
174
175
175
if (isset ($ _SERVER ['HTTP_IF_MODIFIED_SINCE ' ])) {
176
176
$ modifiedSince = $ _SERVER ['HTTP_IF_MODIFIED_SINCE ' ];
@@ -186,11 +186,11 @@ protected function getIfModifiedSinceHeader()
186
186
/**
187
187
* Get If-None-Match header from client request
188
188
*
189
- * @return string|null
189
+ * @return string
190
190
*/
191
191
protected function getIfNoneMatchHeader ()
192
192
{
193
- $ noneMatch = null ;
193
+ $ noneMatch = '' ;
194
194
195
195
if (isset ($ _SERVER ['HTTP_IF_NONE_MATCH ' ])) {
196
196
$ noneMatch = $ _SERVER ['HTTP_IF_NONE_MATCH ' ];
You can’t perform that action at this time.
0 commit comments