Skip to content

Commit 704e8be

Browse files
Merge branch '2.8' into 3.3
* 2.8: [DI] minor docblock fixes
2 parents 58919d6 + e6738f7 commit 704e8be

15 files changed

+1
-107
lines changed

Exception/MethodNotAllowedException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface
2222
{
23-
/**
24-
* @var array
25-
*/
2623
protected $allowedMethods = array();
2724

2825
public function __construct(array $allowedMethods, $message = null, $code = 0, \Exception $previous = null)

Generator/Dumper/GeneratorDumper.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,8 @@
2020
*/
2121
abstract class GeneratorDumper implements GeneratorDumperInterface
2222
{
23-
/**
24-
* @var RouteCollection
25-
*/
2623
private $routes;
2724

28-
/**
29-
* @param RouteCollection $routes The RouteCollection to dump
30-
*/
3125
public function __construct(RouteCollection $routes)
3226
{
3327
$this->routes = $routes;

Generator/UrlGenerator.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,14 @@
2727
*/
2828
class UrlGenerator implements UrlGeneratorInterface, ConfigurableRequirementsInterface
2929
{
30-
/**
31-
* @var RouteCollection
32-
*/
3330
protected $routes;
34-
35-
/**
36-
* @var RequestContext
37-
*/
3831
protected $context;
3932

4033
/**
4134
* @var bool|null
4235
*/
4336
protected $strictRequirements = true;
4437

45-
/**
46-
* @var LoggerInterface|null
47-
*/
4838
protected $logger;
4939

5040
/**
@@ -75,11 +65,6 @@ class UrlGenerator implements UrlGeneratorInterface, ConfigurableRequirementsInt
7565
'%7C' => '|',
7666
);
7767

78-
/**
79-
* @param RouteCollection $routes A RouteCollection instance
80-
* @param RequestContext $context The context
81-
* @param LoggerInterface|null $logger A logger instance
82-
*/
8368
public function __construct(RouteCollection $routes, RequestContext $context, LoggerInterface $logger = null)
8469
{
8570
$this->routes = $routes;

Loader/AnnotationClassLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@
5757
*/
5858
abstract class AnnotationClassLoader implements LoaderInterface
5959
{
60-
/**
61-
* @var Reader
62-
*/
6360
protected $reader;
6461

6562
/**
@@ -72,9 +69,6 @@ abstract class AnnotationClassLoader implements LoaderInterface
7269
*/
7370
protected $defaultRouteIndex = 0;
7471

75-
/**
76-
* @param Reader $reader
77-
*/
7872
public function __construct(Reader $reader)
7973
{
8074
$this->reader = $reader;

Loader/AnnotationFileLoader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ class AnnotationFileLoader extends FileLoader
2727
protected $loader;
2828

2929
/**
30-
* @param FileLocatorInterface $locator A FileLocator instance
31-
* @param AnnotationClassLoader $loader An AnnotationClassLoader instance
32-
*
3330
* @throws \RuntimeException
3431
*/
3532
public function __construct(FileLocatorInterface $locator, AnnotationClassLoader $loader)

Matcher/Dumper/DumperCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ protected function getParent()
105105

106106
/**
107107
* Sets the parent collection.
108-
*
109-
* @param DumperCollection $parent The parent collection
110108
*/
111109
protected function setParent(DumperCollection $parent)
112110
{

Matcher/Dumper/MatcherDumper.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,8 @@
2020
*/
2121
abstract class MatcherDumper implements MatcherDumperInterface
2222
{
23-
/**
24-
* @var RouteCollection
25-
*/
2623
private $routes;
2724

28-
/**
29-
* @param RouteCollection $routes The RouteCollection to dump
30-
*/
3125
public function __construct(RouteCollection $routes)
3226
{
3327
$this->routes = $routes;

Matcher/RequestMatcherInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ interface RequestMatcherInterface
2828
* If the matcher can not find information, it must throw one of the exceptions documented
2929
* below.
3030
*
31-
* @param Request $request The request to match
32-
*
3331
* @return array An array of parameters
3432
*
3533
* @throws ResourceNotFoundException If no matching resource could be found

Matcher/UrlMatcher.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,9 @@ class UrlMatcher implements UrlMatcherInterface, RequestMatcherInterface
3131
const REQUIREMENT_MISMATCH = 1;
3232
const ROUTE_MATCH = 2;
3333

34-
/**
35-
* @var RequestContext
36-
*/
3734
protected $context;
38-
39-
/**
40-
* @var array
41-
*/
4235
protected $allow = array();
43-
44-
/**
45-
* @var RouteCollection
46-
*/
4736
protected $routes;
48-
4937
protected $request;
5038
protected $expressionLanguage;
5139

@@ -54,10 +42,6 @@ class UrlMatcher implements UrlMatcherInterface, RequestMatcherInterface
5442
*/
5543
protected $expressionLanguageProviders = array();
5644

57-
/**
58-
* @param RouteCollection $routes A RouteCollection instance
59-
* @param RequestContext $context The context
60-
*/
6145
public function __construct(RouteCollection $routes, RequestContext $context)
6246
{
6347
$this->routes = $routes;

RequestContext.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ class RequestContext
3131
private $httpPort;
3232
private $httpsPort;
3333
private $queryString;
34-
35-
/**
36-
* @var array
37-
*/
3834
private $parameters = array();
3935

4036
/**
@@ -62,8 +58,6 @@ public function __construct($baseUrl = '', $method = 'GET', $host = 'localhost',
6258
/**
6359
* Updates the RequestContext information based on a HttpFoundation Request.
6460
*
65-
* @param Request $request A Request instance
66-
*
6761
* @return $this
6862
*/
6963
public function fromRequest(Request $request)

0 commit comments

Comments
 (0)