Skip to content

Commit 17773f1

Browse files
[DI] minor docblock fixes
1 parent 3ab69a2 commit 17773f1

File tree

6 files changed

+1
-60
lines changed

6 files changed

+1
-60
lines changed

Adapter/AdapterInterface.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,64 +31,46 @@ public function setFollowLinks($followLinks);
3131
public function setMode($mode);
3232

3333
/**
34-
* @param array $exclude
35-
*
3634
* @return $this
3735
*/
3836
public function setExclude(array $exclude);
3937

4038
/**
41-
* @param array $depths
42-
*
4339
* @return $this
4440
*/
4541
public function setDepths(array $depths);
4642

4743
/**
48-
* @param array $names
49-
*
5044
* @return $this
5145
*/
5246
public function setNames(array $names);
5347

5448
/**
55-
* @param array $notNames
56-
*
5749
* @return $this
5850
*/
5951
public function setNotNames(array $notNames);
6052

6153
/**
62-
* @param array $contains
63-
*
6454
* @return $this
6555
*/
6656
public function setContains(array $contains);
6757

6858
/**
69-
* @param array $notContains
70-
*
7159
* @return $this
7260
*/
7361
public function setNotContains(array $notContains);
7462

7563
/**
76-
* @param array $sizes
77-
*
7864
* @return $this
7965
*/
8066
public function setSizes(array $sizes);
8167

8268
/**
83-
* @param array $dates
84-
*
8569
* @return $this
8670
*/
8771
public function setDates(array $dates);
8872

8973
/**
90-
* @param array $filters
91-
*
9274
* @return $this
9375
*/
9476
public function setFilters(array $filters);
@@ -101,15 +83,11 @@ public function setFilters(array $filters);
10183
public function setSort($sort);
10284

10385
/**
104-
* @param array $paths
105-
*
10686
* @return $this
10787
*/
10888
public function setPath(array $paths);
10989

11090
/**
111-
* @param array $notPaths
112-
*
11391
* @return $this
11492
*/
11593
public function setNotPath(array $notPaths);

Exception/AdapterFailureException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class AdapterFailureException extends \RuntimeException implements ExceptionInterface
2222
{
23-
/**
24-
* @var \Symfony\Component\Finder\Adapter\AdapterInterface
25-
*/
2623
private $adapter;
2724

2825
/**

Exception/ShellCommandFailureException.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,8 @@
1919
*/
2020
class ShellCommandFailureException extends AdapterFailureException
2121
{
22-
/**
23-
* @var Command
24-
*/
2522
private $command;
2623

27-
/**
28-
* @param AdapterInterface $adapter
29-
* @param Command $command
30-
* @param \Exception|null $previous
31-
*/
3224
public function __construct(AdapterInterface $adapter, Command $command, \Exception $previous = null)
3325
{
3426
$this->command = $command;

Expression/Regex.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Regex implements ValueInterface
2828
private $pattern;
2929

3030
/**
31-
* @var array
31+
* @var string
3232
*/
3333
private $options;
3434

@@ -277,8 +277,6 @@ public function hasEndJoker()
277277
}
278278

279279
/**
280-
* @param array $replacement
281-
*
282280
* @return $this
283281
*/
284282
public function replaceJokers($replacement)

Finder.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,6 @@ public static function addVCSPattern($pattern)
462462
*
463463
* This can be slow as all the matching files and directories must be retrieved for comparison.
464464
*
465-
* @param \Closure $closure An anonymous function
466-
*
467465
* @return $this
468466
*
469467
* @see SortableIterator
@@ -569,8 +567,6 @@ public function sortByModifiedTime()
569567
* The anonymous function receives a \SplFileInfo and must return false
570568
* to remove files.
571569
*
572-
* @param \Closure $closure An anonymous function
573-
*
574570
* @return $this
575571
*
576572
* @see CustomFilterIterator
@@ -757,8 +753,6 @@ private function searchInDirectory($dir)
757753
}
758754

759755
/**
760-
* @param AdapterInterface $adapter
761-
*
762756
* @return AdapterInterface
763757
*/
764758
private function buildAdapter(AdapterInterface $adapter)

Shell/Command.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,15 @@
1616
*/
1717
class Command
1818
{
19-
/**
20-
* @var Command|null
21-
*/
2219
private $parent;
23-
24-
/**
25-
* @var array
26-
*/
2720
private $bits = array();
28-
29-
/**
30-
* @var array
31-
*/
3221
private $labels = array();
3322

3423
/**
3524
* @var \Closure|null
3625
*/
3726
private $errorHandler;
3827

39-
/**
40-
* @param Command|null $parent Parent command
41-
*/
4228
public function __construct(Command $parent = null)
4329
{
4430
$this->parent = $parent;
@@ -57,8 +43,6 @@ public function __toString()
5743
/**
5844
* Creates a new Command instance.
5945
*
60-
* @param Command|null $parent Parent command
61-
*
6246
* @return self
6347
*/
6448
public static function create(Command $parent = null)
@@ -216,8 +200,6 @@ public function length()
216200
}
217201

218202
/**
219-
* @param \Closure $errorHandler
220-
*
221203
* @return $this
222204
*/
223205
public function setErrorHandler(\Closure $errorHandler)

0 commit comments

Comments
 (0)