Skip to content

Commit 260f5da

Browse files
Made some classes final
1 parent 048a684 commit 260f5da

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/HttpClient/Plugin/Authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @author Tobias Nyholm <[email protected]>
2626
* @author Graham Campbell <[email protected]>
2727
*/
28-
class Authentication implements Plugin
28+
final class Authentication implements Plugin
2929
{
3030
/**
3131
* The authorization header.

src/HttpClient/Plugin/ExceptionThrower.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* @author Fabien Bourigault <[email protected]>
3333
* @author Graham Campbell <[email protected]>
3434
*/
35-
class ExceptionThrower implements Plugin
35+
final class ExceptionThrower implements Plugin
3636
{
3737
/**
3838
* Handle the request and return the response coming from the next callable.

src/HttpClient/Plugin/History.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @author Tobias Nyholm <[email protected]>
2525
* @author Graham Campbell <[email protected]>
2626
*/
27-
class History implements Journal
27+
final class History implements Journal
2828
{
2929
/**
3030
* The last response.

tests/AnalysisTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* @author Graham Campbell <[email protected]>
2323
*/
24-
class AnalysisTest extends TestCase
24+
final class AnalysisTest extends TestCase
2525
{
2626
use AnalysisTrait;
2727

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @author Graham Campbell <[email protected]>
2424
*/
25-
class ClientTest extends TestCase
25+
final class ClientTest extends TestCase
2626
{
2727
public function testCreateClient()
2828
{

0 commit comments

Comments
 (0)