Skip to content

Commit a33e630

Browse files
committed
Makes find methods static
1 parent d91e14a commit a33e630

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/HttpAdapterDiscovery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function register($name, $class)
5151
*
5252
* @throws NotFoundException
5353
*/
54-
public function find()
54+
public static function find()
5555
{
5656
// We have a cache
5757
if (isset(static::$cache)) {

src/MessageFactoryDiscovery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static function register($name, $class, $factory)
6161
*
6262
* @throws NotFoundException
6363
*/
64-
public function find()
64+
public static function find()
6565
{
6666
// We have a cache
6767
if (isset(static::$cache)) {

0 commit comments

Comments
 (0)