check for null instead of instanceof UserInterface
update test
simplify condition
Collection::random() not actually random

array_intersect_key() is incorrectly using the output of array_rand() which is an array with zero based, consecutive keys (e.g. [0=>n, 1=>n, 2=>n, 3=>n]) of length $amount as the challenge. this resulting in identical results with calls on identical collections. flipping the output of array_rand() so that the random values are used as challenging keys with array_intersect_key() fixes this issue.
Add getLastAttempted method to Auth\Guard class.
Merge pull request #3186 from jowy/4.1

Collection::random() not actually random
Allow Illuminate\Support\Fluent to implement ArrayableInterface and JsonableInterface.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #3197 from crynobone/feature/fluent

Allow Illuminate\Support\Fluent to implement ArrayableInterface and JsonableInterface.
Tweaking some code.
Merge pull request #3195 from stidges/last-attempted

Add getLastAttempted method to Auth\Guard class.
Tweak wording.
Fix array based cookie decryption.
Fix URL generation bug.
Fix doc blocks.
getCached comment typo fix
Merge pull request #3204 from zorba-4/patch-2

getCached comment typo fix
Fix calls to sortBy revealed by HHVM tests.
Change implied doc block to be more clear as to what is implied.
Add new sometimes short-cut rule to only run validation if field is actually present.
Update change log.