title: Casting booleans in Laravel 7.3 returns 1
body: <p>I am using Laravel 7.30.6 and have PHP 8.0.10 on my development machine; I am experiecing a weird issue where any model attributes that are booleans in my DB and have been correctly added to my <code>$casts</code> attribute in the Model still return <code>1</code> if the DB value is <code>true</code>.</p>
  <p>I did see this <a href="https://stackoverflow.com/a/67428725/180837">SO post</a> where they mentioned this is a bug, but it appears its been resolved in PHP8.0.6 which I'm already using a version higher than.</p>
  <p>Can someone tell me how to resolve this? I have confirmed I am using PHP8.0.10 by typing <code>php -v</code> into my terminal.</p>
  <p><strong>Edit:</strong><br>
  I have updated to Laravel v8.80 and this is still encountering the same issues. My PHP version is v8.0.10 which is beyond the v8.0.6 version claimed in the github issue page to have fixed it yet the problem still exists for me.</p>
  <p><strong>Second Edit:</strong><br>
  Table Defintion using PostgreSQL v12.2</p>
  <pre><code>| table_name | column_name              | data_type                   |
  |------------|--------------------------|-----------------------------|
  | businesses | id                       | bigint                      |
  | businesses | name                     | text                        |
  | businesses | business_type_id         | bigint                      |
  | businesses | is_active                | boolean                     |
  | businesses | created_at               | timestamp without time zone |
  | businesses | updated_at               | timestamp without time zone |
  | businesses | enable_multi_queue       | boolean                     |
  | businesses | multi_queue_active       | boolean                     |
  | businesses | enable_shortest_option   | boolean                     |
  | businesses | default_shortest         | boolean                     |
  </code></pre>
  <p>Model defintion:</p>
  <pre><code>class Business extends Model
  {
      protected $casts = [
          'is_active'                 =&gt; 'boolean',
          'enable_multi_queue'        =&gt; 'boolean',
          'multi_queue_active'        =&gt; 'boolean',
          'enable_shortest_option'    =&gt; 'boolean',
          'default_shortest'          =&gt; 'boolean',
      ];
  </code></pre>
  <p>Link to Github Issue:
  <a href="https://github.com/laravel/framework/issues/37215" rel="nofollow noreferrer">https://github.com/laravel/framework/issues/37215</a></p>