diff --git a/app/Interfaces/Repository.php b/app/Interfaces/Repository.php index e9dba006..c1d265e4 100644 --- a/app/Interfaces/Repository.php +++ b/app/Interfaces/Repository.php @@ -78,7 +78,7 @@ abstract class Repository extends \Prettus\Repository\Eloquent\BaseRepository } /** - * Find records with a WHERE clause but also sort them + * Find records where values don't match a list but sort the rest * @param string $col * @param array $values * @param string $sort_by diff --git a/tests/FlightTest.php b/tests/FlightTest.php index 94c95b85..08ddc7eb 100644 --- a/tests/FlightTest.php +++ b/tests/FlightTest.php @@ -163,7 +163,7 @@ class FlightTest extends TestCase $this->user = factory(App\Models\User::class)->create(); // Set it to Monday or Tuesday, depending on what today is - if (date('N') === 1) { // today is a monday + if (date('N') === '1') { // today is a monday $days = Days::getDaysMask([Days::TUESDAY]); } else { $days = Days::getDaysMask([Days::MONDAY]);