Skip to content

Commit 6831db9

Browse files
[12.x] Throws not throw (#56120)
* Update Composer.php * Update PendingProcess.php
1 parent 1cf7324 commit 6831db9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Illuminate/Process/PendingProcess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ protected function resolveSynchronousFake(string $command, Closure $fake)
399399
* @param \Closure $fake
400400
* @return \Illuminate\Process\FakeInvokedProcess
401401
*
402-
* @throw \LogicException
402+
* @throws \LogicException
403403
*/
404404
protected function resolveAsynchronousFake(string $command, ?callable $output, Closure $fake)
405405
{

src/Illuminate/Support/Composer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(Filesystem $files, $workingPath = null)
4242
* @param string $package
4343
* @return bool
4444
*
45-
* @throw \RuntimeException
45+
* @throws \RuntimeException
4646
*/
4747
public function hasPackage($package)
4848
{
@@ -116,7 +116,7 @@ public function removePackages(array $packages, bool $dev = false, Closure|Outpu
116116
* @param callable(array):array $callback
117117
* @return void
118118
*
119-
* @throw \RuntimeException
119+
* @throws \RuntimeException
120120
*/
121121
public function modify(callable $callback)
122122
{
@@ -182,7 +182,7 @@ public function findComposer($composerBinary = null)
182182
*
183183
* @return string
184184
*
185-
* @throw \RuntimeException
185+
* @throws \RuntimeException
186186
*/
187187
protected function findComposerFile()
188188
{

0 commit comments

Comments
 (0)