From 7b067198a677e66147426763907e51fe6e11c735 Mon Sep 17 00:00:00 2001 From: Xiang Liu Date: Mon, 15 Jan 2018 12:44:44 +0800 Subject: [PATCH] Sort keys for generating stable .phpstorm.meta.php --- src/Console/MetaCommand.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Console/MetaCommand.php b/src/Console/MetaCommand.php index 13c9ed0..fe77e38 100644 --- a/src/Console/MetaCommand.php +++ b/src/Console/MetaCommand.php @@ -122,7 +122,11 @@ class MetaCommand extends Command $abstracts = $this->laravel->getBindings(); // Return the abstract names only - return array_keys($abstracts); + $keys = array_keys($abstracts); + + sort($keys); + + return $keys; } /**