Skip to content

Commit 7f20124

Browse files
CS fixes
1 parent 8e9a6dd commit 7f20124

File tree

9 files changed

+8
-24
lines changed

9 files changed

+8
-24
lines changed

src/Illuminate/Container/Container.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,6 @@ protected function fireAfterResolvingCallbacks($abstract, $object)
10731073
* @param string $abstract
10741074
* @param object $object
10751075
* @param array $callbacksPerType
1076-
*
10771076
* @return array
10781077
*/
10791078
protected function getCallbacksForType($abstract, $object, array $callbacksPerType)

src/Illuminate/Database/Eloquent/Relations/BelongsTo.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class BelongsTo extends Relation
5252
* @param string $foreignKey
5353
* @param string $ownerKey
5454
* @param string $relationName
55-
*
5655
* @return void
5756
*/
5857
public function __construct(Builder $query, Model $child, $foreignKey, $ownerKey, $relationName)

src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ protected function typeDateTime(Fluent $column)
625625
* Create the column definition for a date-time (with time zone) type.
626626
*
627627
* Note: "SQLite does not have a storage class set aside for storing dates and/or times."
628+
*
628629
* @link https://www.sqlite.org/datatype3.html
629630
*
630631
* @param \Illuminate\Support\Fluent $column

src/Illuminate/Foundation/Testing/Constraints/ArraySubset.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public function evaluate($other, string $description = '', bool $returnResult =
9191
/**
9292
* Returns a string representation of the constraint.
9393
*
94-
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
95-
*
9694
* @return string
95+
*
96+
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
9797
*/
9898
public function toString(): string
9999
{
@@ -224,9 +224,9 @@ public function evaluate($other, string $description = '', bool $returnResult =
224224
/**
225225
* Returns a string representation of the constraint.
226226
*
227-
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
228-
*
229227
* @return string
228+
*
229+
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
230230
*/
231231
public function toString(): string
232232
{

src/Illuminate/Log/LogManager.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ public function forgetChannel($driver = null)
494494
*
495495
* @param string $message
496496
* @param array $context
497-
*
498497
* @return void
499498
*/
500499
public function emergency($message, array $context = [])
@@ -510,7 +509,6 @@ public function emergency($message, array $context = [])
510509
*
511510
* @param string $message
512511
* @param array $context
513-
*
514512
* @return void
515513
*/
516514
public function alert($message, array $context = [])
@@ -525,7 +523,6 @@ public function alert($message, array $context = [])
525523
*
526524
* @param string $message
527525
* @param array $context
528-
*
529526
* @return void
530527
*/
531528
public function critical($message, array $context = [])
@@ -539,7 +536,6 @@ public function critical($message, array $context = [])
539536
*
540537
* @param string $message
541538
* @param array $context
542-
*
543539
* @return void
544540
*/
545541
public function error($message, array $context = [])
@@ -555,7 +551,6 @@ public function error($message, array $context = [])
555551
*
556552
* @param string $message
557553
* @param array $context
558-
*
559554
* @return void
560555
*/
561556
public function warning($message, array $context = [])
@@ -568,7 +563,6 @@ public function warning($message, array $context = [])
568563
*
569564
* @param string $message
570565
* @param array $context
571-
*
572566
* @return void
573567
*/
574568
public function notice($message, array $context = [])
@@ -583,7 +577,6 @@ public function notice($message, array $context = [])
583577
*
584578
* @param string $message
585579
* @param array $context
586-
*
587580
* @return void
588581
*/
589582
public function info($message, array $context = [])
@@ -596,7 +589,6 @@ public function info($message, array $context = [])
596589
*
597590
* @param string $message
598591
* @param array $context
599-
*
600592
* @return void
601593
*/
602594
public function debug($message, array $context = [])
@@ -610,7 +602,6 @@ public function debug($message, array $context = [])
610602
* @param mixed $level
611603
* @param string $message
612604
* @param array $context
613-
*
614605
* @return void
615606
*/
616607
public function log($level, $message, array $context = [])

src/Illuminate/Mail/PendingMail.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function send(MailableContract $mailable)
126126
*
127127
* @param \Illuminate\Contracts\Mail\Mailable $mailable
128128
* @return mixed
129+
*
129130
* @deprecated Use send() instead.
130131
*/
131132
public function sendNow(MailableContract $mailable)

src/Illuminate/Validation/Concerns/ValidatesAttributes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,6 @@ protected function isSameType($first, $second)
19331933
*
19341934
* @param string $attribute
19351935
* @param string $rule
1936-
*
19371936
* @return void
19381937
*/
19391938
protected function shouldBeNumeric($attribute, $rule)

src/Illuminate/Validation/Validator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ protected function shouldBeExcluded($attribute)
364364
* Remove the given attribute.
365365
*
366366
* @param string $attribute
367-
*
368367
* @return void
369368
*/
370369
protected function removeAttribute($attribute)

tests/Mail/MailSesTransportTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testSend()
5454
// Generate a messageId for our mock to return to ensure that the post-sent message
5555
// has X-SES-Message-ID in its headers
5656
$messageId = Str::random(32);
57-
$sendRawEmailMock = new sendRawEmailMock($messageId);
57+
$sendRawEmailMock = new SendRawEmailMock($messageId);
5858
$client->expects($this->once())
5959
->method('sendRawEmail')
6060
->with($this->equalTo([
@@ -68,7 +68,7 @@ public function testSend()
6868
}
6969
}
7070

71-
class sendRawEmailMock
71+
class SendRawEmailMock
7272
{
7373
protected $getResponse;
7474

@@ -77,11 +77,6 @@ public function __construct($responseValue)
7777
$this->getResponse = $responseValue;
7878
}
7979

80-
/**
81-
* Mock the get() call for the sendRawEmail response.
82-
* @param [type] $key [description]
83-
* @return [type] [description]
84-
*/
8580
public function get($key)
8681
{
8782
return $this->getResponse;

0 commit comments

Comments
 (0)