From 3d6af79bf777cc76eda8d3f14ed119a01c3e03b5 Mon Sep 17 00:00:00 2001 From: Barry Date: Thu, 21 Mar 2013 12:41:39 +0100 Subject: [PATCH] Small tweaks --- _IDE_helper.php | 18 ++++-------------- .../LaravelIdeHelper/GeneratorCommand.php | 2 +- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/_IDE_helper.php b/_IDE_helper.php index be4c828..7990d03 100644 --- a/_IDE_helper.php +++ b/_IDE_helper.php @@ -1,4 +1,7 @@ -limit($value, $limit, $end); } - /** - * Limit the number of words in a string. - * - * @static - * @param string $value - * @param int $words - * @param string $end - * @return string - */ - public static function words($value, $words = 100, $end = '...'){ - return self::$root->words($value, $words, $end); - } - /** * Get the plural form of an English word. * diff --git a/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php b/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php index 4be8b2e..408b99d 100644 --- a/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php +++ b/src/Barryvdh/LaravelIdeHelper/GeneratorCommand.php @@ -92,7 +92,7 @@ class GeneratorCommand extends Command { $d->setAllowInherited(true); $d->setMethodFilter(\ReflectionMethod::IS_PUBLIC); - $output = " $facade){