File tree Expand file tree Collapse file tree 4 files changed +19
-9
lines changed Expand file tree Collapse file tree 4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -90,5 +90,7 @@ public function guess($mimeType)
90
90
return $ extension ;
91
91
}
92
92
}
93
+
94
+ return null ;
93
95
}
94
96
}
Original file line number Diff line number Diff line change @@ -129,5 +129,7 @@ public function guess($path)
129
129
if (2 === \count ($ this ->guessers ) && !FileBinaryMimeTypeGuesser::isSupported () && !FileinfoMimeTypeGuesser::isSupported ()) {
130
130
throw new \LogicException ('Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) ' );
131
131
}
132
+
133
+ return null ;
132
134
}
133
135
}
Original file line number Diff line number Diff line change @@ -97,49 +97,49 @@ class Request
97
97
/**
98
98
* Custom parameters.
99
99
*
100
- * @var \Symfony\Component\HttpFoundation\ ParameterBag
100
+ * @var ParameterBag
101
101
*/
102
102
public $ attributes ;
103
103
104
104
/**
105
105
* Request body parameters ($_POST).
106
106
*
107
- * @var \Symfony\Component\HttpFoundation\ ParameterBag
107
+ * @var ParameterBag
108
108
*/
109
109
public $ request ;
110
110
111
111
/**
112
112
* Query string parameters ($_GET).
113
113
*
114
- * @var \Symfony\Component\HttpFoundation\ ParameterBag
114
+ * @var ParameterBag
115
115
*/
116
116
public $ query ;
117
117
118
118
/**
119
119
* Server and execution environment parameters ($_SERVER).
120
120
*
121
- * @var \Symfony\Component\HttpFoundation\ ServerBag
121
+ * @var ServerBag
122
122
*/
123
123
public $ server ;
124
124
125
125
/**
126
126
* Uploaded files ($_FILES).
127
127
*
128
- * @var \Symfony\Component\HttpFoundation\ FileBag
128
+ * @var FileBag
129
129
*/
130
130
public $ files ;
131
131
132
132
/**
133
133
* Cookies ($_COOKIE).
134
134
*
135
- * @var \Symfony\Component\HttpFoundation\ ParameterBag
135
+ * @var ParameterBag
136
136
*/
137
137
public $ cookies ;
138
138
139
139
/**
140
140
* Headers (taken from the $_SERVER).
141
141
*
142
- * @var \Symfony\Component\HttpFoundation\ HeaderBag
142
+ * @var HeaderBag
143
143
*/
144
144
public $ headers ;
145
145
@@ -199,7 +199,7 @@ class Request
199
199
protected $ format ;
200
200
201
201
/**
202
- * @var \Symfony\Component\HttpFoundation\Session\ SessionInterface
202
+ * @var SessionInterface
203
203
*/
204
204
protected $ session ;
205
205
@@ -1449,6 +1449,8 @@ public function getFormat($mimeType)
1449
1449
return $ format ;
1450
1450
}
1451
1451
}
1452
+
1453
+ return null ;
1452
1454
}
1453
1455
1454
1456
/**
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ class Response
88
88
const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511 ; // RFC6585
89
89
90
90
/**
91
- * @var \Symfony\Component\HttpFoundation\ ResponseHeaderBag
91
+ * @var ResponseHeaderBag
92
92
*/
93
93
public $ headers ;
94
94
@@ -790,6 +790,8 @@ public function getMaxAge()
790
790
if (null !== $ this ->getExpires ()) {
791
791
return (int ) $ this ->getExpires ()->format ('U ' ) - (int ) $ this ->getDate ()->format ('U ' );
792
792
}
793
+
794
+ return null ;
793
795
}
794
796
795
797
/**
@@ -846,6 +848,8 @@ public function getTtl()
846
848
if (null !== $ maxAge = $ this ->getMaxAge ()) {
847
849
return $ maxAge - $ this ->getAge ();
848
850
}
851
+
852
+ return null ;
849
853
}
850
854
851
855
/**
You can’t perform that action at this time.
0 commit comments