File tree Expand file tree Collapse file tree 5 files changed +15
-12
lines changed Expand file tree Collapse file tree 5 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ class DumpListener implements EventSubscriberInterface
28
28
private $ dumper ;
29
29
30
30
/**
31
- * @param ClonerInterface $cloner Cloner service.
32
- * @param DataDumperInterface $dumper Dumper service.
31
+ * @param ClonerInterface $cloner Cloner service.
32
+ * @param DataDumperInterface $dumper Dumper service.
33
33
*/
34
34
public function __construct (ClonerInterface $ cloner , DataDumperInterface $ dumper )
35
35
{
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function hasSurrogateCapability(Request $request)
73
73
*
74
74
* @param Request $request A Request instance
75
75
*
76
- * @return bool true if one surrogate has ESI/1.0 capability, false otherwise
76
+ * @return bool true if one surrogate has ESI/1.0 capability, false otherwise
77
77
*
78
78
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use hasSurrogateCapability() instead
79
79
*/
@@ -142,7 +142,7 @@ public function needsParsing(Response $response)
142
142
*
143
143
* @param Response $response A Response instance
144
144
*
145
- * @return bool true if the Response needs to be parsed, false otherwise
145
+ * @return bool true if the Response needs to be parsed, false otherwise
146
146
*
147
147
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use needsParsing() instead
148
148
*/
Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ public function getSurrogate()
167
167
* Gets the Esi instance
168
168
*
169
169
* @throws \LogicException
170
+ *
170
171
* @return Esi An Esi instance
171
172
*
172
173
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use getSurrogate() instead
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function createCacheStrategy();
35
35
*
36
36
* @param Request $request A Request instance
37
37
*
38
- * @return bool true if one surrogate has Surrogate capability, false otherwise
38
+ * @return bool true if one surrogate has Surrogate capability, false otherwise
39
39
*/
40
40
public function hasSurrogateCapability (Request $ request );
41
41
@@ -60,17 +60,17 @@ public function addSurrogateControl(Response $response);
60
60
*
61
61
* @param Response $response A Response instance
62
62
*
63
- * @return bool true if the Response needs to be parsed, false otherwise
63
+ * @return bool true if the Response needs to be parsed, false otherwise
64
64
*/
65
65
public function needsParsing (Response $ response );
66
66
67
67
/**
68
68
* Renders a Surrogate tag.
69
69
*
70
- * @param string $uri A URI
71
- * @param string $alt An alternate URI
72
- * @param bool $ignoreErrors Whether to ignore errors or not
73
- * @param string $comment A comment to add as an esi:include tag
70
+ * @param string $uri A URI
71
+ * @param string $alt An alternate URI
72
+ * @param bool $ignoreErrors Whether to ignore errors or not
73
+ * @param string $comment A comment to add as an esi:include tag
74
74
*
75
75
* @return string
76
76
*/
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ public function testDump()
29
29
30
30
$ this ->assertSame ('dump ' , $ collector ->getName ());
31
31
32
- $ collector ->dump ($ data ); $ line = __LINE__ ;
32
+ $ collector ->dump ($ data );
33
+ $ line = __LINE__ ;
33
34
$ this ->assertSame (1 , $ collector ->getDumpsCount ());
34
35
35
36
$ dump = $ collector ->getDumps ('html ' );
@@ -61,7 +62,8 @@ public function testFlush()
61
62
{
62
63
$ data = new Data (array (array (456 )));
63
64
$ collector = new DumpDataCollector ();
64
- $ collector ->dump ($ data ); $ line = __LINE__ ;
65
+ $ collector ->dump ($ data );
66
+ $ line = __LINE__ ;
65
67
66
68
ob_start ();
67
69
$ collector = null ;
You can’t perform that action at this time.
0 commit comments