Skip to content

1.0.1

Compare
Choose a tag to compare
@knicklabs knicklabs released this 16 Oct 03:34

This update fixes two issues:

  1. The Schema::make() method should always return an array. Previously it would return an array unless there was one result, in which case, it would return a single object.
  2. The Schema::make() method should return an empty array by default. Previously it would return a single object.

These changes were made for consistency. make() should always returns an array. makeOne() should always return a single object.