From 4207adc098bb326cb9ba03d7117cc7953a387aeb Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Fri, 17 Nov 2017 10:54:18 -0500 Subject: [PATCH] change fns to static --- src/Utils/FindBreakingChanges.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Utils/FindBreakingChanges.php b/src/Utils/FindBreakingChanges.php index c937a4f..0894f0c 100644 --- a/src/Utils/FindBreakingChanges.php +++ b/src/Utils/FindBreakingChanges.php @@ -41,7 +41,7 @@ class FindBreakingChanges * * @return array */ - public function findDangerousChanges(Schema $oldSchema, Schema $newSchema) + public static function findDangerousChanges(Schema $oldSchema, Schema $newSchema) { return array_merge(self::findArgChanges($oldSchema, $newSchema)['dangerousChanges'], self::findValuesAddedToEnums($oldSchema, $newSchema), @@ -55,7 +55,7 @@ class FindBreakingChanges * * @return array */ - public function findBreakingChanges(Schema $oldSchema, Schema $newSchema) + public static function findBreakingChanges(Schema $oldSchema, Schema $newSchema) { return array_merge( self::findRemovedTypes($oldSchema, $newSchema), @@ -74,7 +74,7 @@ class FindBreakingChanges * * @return array */ - public function findRemovedTypes( + public static function findRemovedTypes( Schema $oldSchema, Schema $newSchema ) { @@ -98,7 +98,7 @@ class FindBreakingChanges * * @return array */ - public function findTypesThatChangedKind( + public static function findTypesThatChangedKind( Schema $oldSchema, Schema $newSchema ) { @@ -132,7 +132,7 @@ class FindBreakingChanges * * @return array */ - public function findArgChanges( + public static function findArgChanges( Schema $oldSchema, Schema $newSchema ) {