laravel/tinker

assert always returns true

khalyomede opened this issue · 2 comments

  • Tinker Version: 1.0.10
  • Laravel Version: 6.18.31
  • PHP Version: 7.4.3
  • Database Driver & Version: 5.7.29

Description:

assert() always returns true.

Steps To Reproduce:

Run this code, it always returns true

/var/www/html# php artisan tinker
Psy Shell v0.9.12 (PHP 7.4.3 — cli) by Justin Hileman
>>> $test = null;
=> null
>>> assert($test instanceof PDO);
=> true
>>>

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.