Re-use newPivotStatement function

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Various fixes

Fixed typos, incorrect property and incorrect return types.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Fix missing method implementation on Controller class

Missing method handler implementation for the Controller class seems to have disappeared. Re-added it along with unit tests to make sure it doesn't gets removed again.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Merge pull request #1665 from driesvints/bugfix/fix-missing-method-on-controller

Fix missing method implementation on Controller class
Merge pull request #1664 from driesvints/dv/various-fixes

Various fixes
Added parseCallback method to Str class.
Added array_build helper.
Add support to PHP5.5 since it has been released.

Signed-off-by: crynobone <crynobone@gmail.com>
Allow App::down() callback to be configurable based on app requirement. Fixes #1701.

Signed-off-by: crynobone <crynobone@gmail.com>
Fix bug in Auth::loginById that caused no action to be taken. Closes #1712.
Merge pull request #1709 from crynobone/feature/php5.5

Add support test PHP 5.5 (using Travis-CI) since it has been released.
Fix nested before filters in groups.
Fix double get on cache remember.
Update phpdocs (static return types)

Also made the Closure return consisten use \Closure and some small typos
Merge pull request #1728 from barryvdh/4.0

Add static return types to phpdocs
Allow ServiceProvider::commands to receive an array of commands
Add PHP 5.5 to travis config file for workbench packages

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Large cleanup

This commit is a large cleanup throughout the framework. Changes are:

- Put use statements on separate rules
- Fix some variable positioning in docblocks
- Import dependencies with use statement rather then using them directly with their namespace in a class
- Fixed an incorrect @param statement on a property docblock
- Fixed some incorrect return types
- Replaced stdClass with "object" (see note below)
- Replaced a static::make with a new Illuminate Response call in the Response facade (to be in line with the other functions)
- Added dependencies to the start function in the workbench Starter class

The reason why I replaced stdClass with "object" throughout all of the docblocks is because it isn't correct. Stating that you expect stdClass means that you don't expect any other class except stdClass which is wrong. You need to indicate it as "object" so you can expect different types of classes. A prime example is the migrator class where some functions expect a migration class. Those classes aren't stdClasses but they are objects.

Remember: all stdClasses are objects but not all objects are stdClasses.
Signed-off-by: Dries Vints <dries.vints@gmail.com>
Merge pull request #1766 from driesvints/feature/add-php-5.5-to-workbench-travis-stub

Add PHP 5.5 to travis config file for workbench packages
Merge pull request #1746 from Anahkiasen/patch-1

Allow ServiceProvider::commands to receive an array of commands