Skip to content

Commit 85521ec

Browse files
committed
Removes superfluous PHPdoc annotations by Pint 1.5
1 parent 02d9522 commit 85521ec

File tree

6 files changed

+0
-20
lines changed

6 files changed

+0
-20
lines changed

src/Concerns/ReplacesBindings.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ trait ReplacesBindings
88
{
99
/**
1010
* Replace bindings.
11-
*
12-
* @param string $sql
13-
* @param array $bindings
14-
*
15-
* @return string
1611
*/
1712
protected function replaceBindings(string $sql, array $bindings): string
1813
{
@@ -50,8 +45,6 @@ protected function value($value)
5045
* Get regex to be used for named parameter with given name.
5146
*
5247
* @param string $name
53-
*
54-
* @return string
5548
*/
5649
protected function getNamedParameterRegex($name): string
5750
{

src/FileName.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ class FileName
99
{
1010
/**
1111
* FileName constructor.
12-
*
13-
* @param Container $app
14-
* @param Config $config
1512
*/
1613
public function __construct(
1714
private Container $app,

src/Formatter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ class Formatter
1717

1818
/**
1919
* Formatter constructor.
20-
*
21-
* @param Container $app
22-
* @param Config $config
2320
*/
2421
public function __construct(
2522
private Container $app,

src/Listeners/SqlQueryLogSubscriber.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public function __construct(
2222
/**
2323
* Register the listeners for the subscriber.
2424
*
25-
* @param Dispatcher $events
2625
* @return void
2726
*/
2827
public function subscribe(Dispatcher $events)

src/SqlLogger.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ class SqlLogger
1313

1414
/**
1515
* SqlLogger constructor.
16-
*
17-
* @param Writer $writer
1816
*/
1917
public function __construct(
2018
private Writer $writer

src/Writer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function __construct(
2020
/**
2121
* Write a query to log.
2222
*
23-
* @param SqlQuery $query
2423
* @return bool true if query was written to log, false if skipped
2524
*/
2625
public function writeQuery(SqlQuery $query): bool
@@ -47,7 +46,6 @@ public function writeQuery(SqlQuery $query): bool
4746
/**
4847
* Create directory if it does not exist yet.
4948
*
50-
* @param int $queryNumber
5149
* @return bool true on successful directory creation
5250
*/
5351
protected function createDirectoryIfNotExists(int $queryNumber): bool
@@ -80,8 +78,6 @@ protected function shouldLogQuery(SqlQuery $query): bool
8078
/**
8179
* Write data to log file.
8280
*
83-
* @param string $line
84-
* @param bool $override
8581
* @return int|false the number of bytes that were written to the file, or false on failure.
8682
*/
8783
protected function writeLine(string $line, bool $override = false): int|false

0 commit comments

Comments
 (0)