Skip to content

Commit ea20b62

Browse files
Merge branch '3.3' into 3.4
* 3.3: [DI] minor docblock fixes
2 parents 6865d19 + 704e8be commit ea20b62

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
@@ -29,8 +29,6 @@ interface RequestMatcherInterface
2929
* If the matcher can not find information, it must throw one of the exceptions documented
3030
* below.
3131
*
32-
* @param Request $request The request to match
33-
*
3432
* @return array An array of parameters
3533
*
3634
* @throws NoConfigurationException If no routing configuration could be found

Matcher/UrlMatcher.php

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

35-
/**
36-
* @var RequestContext
37-
*/
3835
protected $context;
39-
40-
/**
41-
* @var array
42-
*/
4336
protected $allow = array();
44-
45-
/**
46-
* @var RouteCollection
47-
*/
4837
protected $routes;
49-
5038
protected $request;
5139
protected $expressionLanguage;
5240

@@ -55,10 +43,6 @@ class UrlMatcher implements UrlMatcherInterface, RequestMatcherInterface
5543
*/
5644
protected $expressionLanguageProviders = array();
5745

58-
/**
59-
* @param RouteCollection $routes A RouteCollection instance
60-
* @param RequestContext $context The context
61-
*/
6246
public function __construct(RouteCollection $routes, RequestContext $context)
6347
{
6448
$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)