]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #17948 from nextcloud/enh/check-if-property-is-bool
authorRoeland Jago Douma <rullzer@users.noreply.github.com>
Tue, 26 Nov 2019 11:25:36 +0000 (12:25 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Nov 2019 11:25:36 +0000 (12:25 +0100)
Make isXXX available for bool properties only

1  2 
tests/lib/AppFramework/Db/EntityTest.php

index fd075a9300dfeb7605663510a8a3a4feda049cb2,49ecad0b561741810523f5ccdf9cfc4f64d3aa28..a49440949e3afbbd70c619a5b64f91db5f5f5840
@@@ -25,7 -25,9 +25,8 @@@ namespace Test\AppFramework\Db
  
  
  use OCP\AppFramework\Db\Entity;
+ use PHPUnit\Framework\Constraint\IsType;
  
 -
  /**
   * @method integer getId()
   * @method void setId(integer $id)