diff --git a/laravel/database/query.php b/laravel/database/query.php index fabeb4dd..6c7dbcdb 100644 --- a/laravel/database/query.php +++ b/laravel/database/query.php @@ -629,7 +629,7 @@ public function get($columns = array('*')) * @param string $column * @return mixed */ - private function aggregate($aggregator, $column) + public function aggregate($aggregator, $column) { $this->aggregate = compact('aggregator', 'column'); diff --git a/laravel/database/schema.php b/laravel/database/schema.php index 0c3ecef8..d36df3ef 100644 --- a/laravel/database/schema.php +++ b/laravel/database/schema.php @@ -78,7 +78,7 @@ protected static function implications($table) // For some extra syntax sugar, we'll check for any implicit // indexes on the table. The developer may specify the index // type on the fluent column declaration. Here we'll find - // any such implicit index and add the actual command. + // any implicit indexes and add the commands. foreach ($table->columns as $column) { foreach (array('primary', 'unique', 'fulltext', 'index') as $key)