mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Use short array declaration
This commit is contained in:
@@ -72,7 +72,7 @@ class API_OAuth2_ApplicationTest extends PhraseanetPHPUnitAbstract
|
||||
|
||||
public function testGet_type()
|
||||
{
|
||||
$this->assertTrue(in_array($this->object->get_type(), array(API_OAuth2_Application::DESKTOP_TYPE, API_OAuth2_Application::WEB_TYPE)));
|
||||
$this->assertTrue(in_array($this->object->get_type(), [API_OAuth2_Application::DESKTOP_TYPE, API_OAuth2_Application::WEB_TYPE]));
|
||||
}
|
||||
|
||||
public function testGet_nonce()
|
||||
|
Reference in New Issue
Block a user