Skip to content

Commit 8a57ab8

Browse files
Docblock fixes
1 parent 5771d90 commit 8a57ab8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+155
-155
lines changed

CacheWarmer/CacheWarmerAggregate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function warmUp($cacheDir)
5151
/**
5252
* Checks whether this warmer is optional or not.
5353
*
54-
* @return bool always false
54+
* @return bool always false
5555
*/
5656
public function isOptional()
5757
{

CacheWarmer/CacheWarmerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface CacheWarmerInterface extends WarmableInterface
2626
* A warmer should return true if the cache can be
2727
* generated incrementally and on-demand.
2828
*
29-
* @return bool true if the warmer is optional, false otherwise
29+
* @return bool true if the warmer is optional, false otherwise
3030
*/
3131
public function isOptional();
3232
}

Controller/ControllerResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public function __construct(LoggerInterface $logger = null)
4747
*
4848
* @param Request $request A Request instance
4949
*
50-
* @return mixed|bool A PHP callable representing the Controller,
51-
* or false if this resolver is not able to determine the controller
50+
* @return mixed|bool A PHP callable representing the Controller,
51+
* or false if this resolver is not able to determine the controller
5252
*
5353
* @throws \InvalidArgumentException|\LogicException If the controller can't be found
5454
*

Controller/ControllerResolverInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ interface ControllerResolverInterface
3838
*
3939
* @param Request $request A Request instance
4040
*
41-
* @return mixed|bool A PHP callable representing the Controller,
42-
* or false if this resolver is not able to determine the controller
41+
* @return mixed|bool A PHP callable representing the Controller,
42+
* or false if this resolver is not able to determine the controller
4343
*
4444
* @throws \InvalidArgumentException|\LogicException If the controller can't be found
4545
*

DataCollector/ConfigDataCollector.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function getEnv()
143143
/**
144144
* Returns true if the debug is enabled.
145145
*
146-
* @return bool true if debug is enabled, false otherwise
146+
* @return bool true if debug is enabled, false otherwise
147147
*/
148148
public function isDebug()
149149
{
@@ -153,7 +153,7 @@ public function isDebug()
153153
/**
154154
* Returns true if the XDebug is enabled.
155155
*
156-
* @return bool true if XDebug is enabled, false otherwise
156+
* @return bool true if XDebug is enabled, false otherwise
157157
*/
158158
public function hasXDebug()
159159
{
@@ -163,7 +163,7 @@ public function hasXDebug()
163163
/**
164164
* Returns true if EAccelerator is enabled.
165165
*
166-
* @return bool true if EAccelerator is enabled, false otherwise
166+
* @return bool true if EAccelerator is enabled, false otherwise
167167
*/
168168
public function hasEAccelerator()
169169
{
@@ -173,7 +173,7 @@ public function hasEAccelerator()
173173
/**
174174
* Returns true if APC is enabled.
175175
*
176-
* @return bool true if APC is enabled, false otherwise
176+
* @return bool true if APC is enabled, false otherwise
177177
*/
178178
public function hasApc()
179179
{
@@ -183,7 +183,7 @@ public function hasApc()
183183
/**
184184
* Returns true if Zend OPcache is enabled
185185
*
186-
* @return bool true if Zend OPcache is enabled, false otherwise
186+
* @return bool true if Zend OPcache is enabled, false otherwise
187187
*/
188188
public function hasZendOpcache()
189189
{
@@ -193,7 +193,7 @@ public function hasZendOpcache()
193193
/**
194194
* Returns true if XCache is enabled.
195195
*
196-
* @return bool true if XCache is enabled, false otherwise
196+
* @return bool true if XCache is enabled, false otherwise
197197
*/
198198
public function hasXCache()
199199
{
@@ -203,7 +203,7 @@ public function hasXCache()
203203
/**
204204
* Returns true if WinCache is enabled.
205205
*
206-
* @return bool true if WinCache is enabled, false otherwise
206+
* @return bool true if WinCache is enabled, false otherwise
207207
*/
208208
public function hasWinCache()
209209
{
@@ -213,7 +213,7 @@ public function hasWinCache()
213213
/**
214214
* Returns true if any accelerator is enabled.
215215
*
216-
* @return bool true if any accelerator is enabled, false otherwise
216+
* @return bool true if any accelerator is enabled, false otherwise
217217
*/
218218
public function hasAccelerator()
219219
{

DataCollector/ExceptionDataCollector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function collect(Request $request, Response $response, \Exception $except
3737
/**
3838
* Checks if the exception is not null.
3939
*
40-
* @return bool true if the exception is not null, false otherwise
40+
* @return bool true if the exception is not null, false otherwise
4141
*/
4242
public function hasException()
4343
{
@@ -67,7 +67,7 @@ public function getMessage()
6767
/**
6868
* Gets the exception code.
6969
*
70-
* @return int The exception code
70+
* @return int The exception code
7171
*/
7272
public function getCode()
7373
{
@@ -77,7 +77,7 @@ public function getCode()
7777
/**
7878
* Gets the status code.
7979
*
80-
* @return int The status code
80+
* @return int The status code
8181
*/
8282
public function getStatusCode()
8383
{

DataCollector/MemoryDataCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function collect(Request $request, Response $response, \Exception $except
4040
/**
4141
* Gets the memory.
4242
*
43-
* @return int The memory
43+
* @return int The memory
4444
*/
4545
public function getMemory()
4646
{
@@ -50,7 +50,7 @@ public function getMemory()
5050
/**
5151
* Gets the PHP memory limit.
5252
*
53-
* @return int The memory limit
53+
* @return int The memory limit
5454
*/
5555
public function getMemoryLimit()
5656
{

DataCollector/RouterDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function onKernelController(FilterControllerEvent $event)
6969
}
7070

7171
/**
72-
* @return bool Whether this request will result in a redirect
72+
* @return bool Whether this request will result in a redirect
7373
*/
7474
public function getRedirect()
7575
{

DataCollector/TimeDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function getInitTime()
105105
/**
106106
* Gets the request time.
107107
*
108-
* @return int The time
108+
* @return int The time
109109
*/
110110
public function getStartTime()
111111
{

Debug/TraceableEventDispatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ private function getListenerInfo($listener, $eventId, $eventName)
324324
/**
325325
* Updates the stopwatch data in the profile hierarchy.
326326
*
327-
* @param string $token Profile token
328-
* @param bool $updateChildren Whether to update the children altogether
327+
* @param string $token Profile token
328+
* @param bool $updateChildren Whether to update the children altogether
329329
*/
330330
private function updateProfiles($token, $updateChildren)
331331
{

0 commit comments

Comments
 (0)