You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Client.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ public function getCrawler()
190
190
{
191
191
if (null === $this->crawler) {
192
192
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', __METHOD__), E_USER_DEPRECATED);
193
-
// throw new BadMethodCallException(sprintf('The "request()" method must be called before the "%s()" one', __METHOD__));
193
+
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
194
194
}
195
195
196
196
return$this->crawler;
@@ -205,7 +205,7 @@ public function getInternalResponse()
205
205
{
206
206
if (null === $this->internalResponse) {
207
207
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', __METHOD__), E_USER_DEPRECATED);
208
-
// throw new BadMethodCallException(sprintf('The "request()" method must be called before the "%s()" one', __METHOD__));
208
+
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
209
209
}
210
210
211
211
return$this->internalResponse;
@@ -225,7 +225,7 @@ public function getResponse()
225
225
{
226
226
if (null === $this->response) {
227
227
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', __METHOD__), E_USER_DEPRECATED);
228
-
// throw new BadMethodCallException(sprintf('The "request()" method must be called before the "%s()" one', __METHOD__));
228
+
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
229
229
}
230
230
231
231
return$this->response;
@@ -240,7 +240,7 @@ public function getInternalRequest()
240
240
{
241
241
if (null === $this->internalRequest) {
242
242
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', __METHOD__), E_USER_DEPRECATED);
243
-
// throw new BadMethodCallException(sprintf('The "request()" method must be called before the "%s()" one', __METHOD__));
243
+
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
244
244
}
245
245
246
246
return$this->internalRequest;
@@ -260,7 +260,7 @@ public function getRequest()
260
260
{
261
261
if (null === $this->request) {
262
262
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', __METHOD__), E_USER_DEPRECATED);
263
-
// throw new BadMethodCallException(sprintf('The "request()" method must be called before the "%s()" one', __METHOD__));
263
+
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
0 commit comments