return comment
This commit is contained in:
parent
7c6f41e04f
commit
a0a6afc224
@ -218,9 +218,9 @@
|
|||||||
<severity>5</severity>
|
<severity>5</severity>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
|
<!--<rule ref="PEAR.Commenting.FunctionComment.MissingReturn">
|
||||||
<severity>0</severity>
|
<severity>0</severity>
|
||||||
</rule>
|
</rule>-->
|
||||||
<rule ref="PEAR.Commenting.FunctionComment.Missing">
|
<rule ref="PEAR.Commenting.FunctionComment.Missing">
|
||||||
<severity>0</severity>
|
<severity>0</severity>
|
||||||
</rule>
|
</rule>
|
||||||
|
|||||||
@ -2454,6 +2454,7 @@ class Adherent extends CommonObject
|
|||||||
* Existing categories are left untouch.
|
* Existing categories are left untouch.
|
||||||
*
|
*
|
||||||
* @param int[]|int $categories Category or categories IDs
|
* @param int[]|int $categories Category or categories IDs
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setCategories($categories)
|
public function setCategories($categories)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -82,6 +82,7 @@ class PrestaShopWebservice
|
|||||||
* Take the status code and throw an exception if the server didn't return 200 or 201 code
|
* Take the status code and throw an exception if the server didn't return 200 or 201 code
|
||||||
*
|
*
|
||||||
* @param int $status_code Status code of an HTTP return
|
* @param int $status_code Status code of an HTTP return
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function checkStatusCode($status_code)
|
protected function checkStatusCode($status_code)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -217,6 +217,7 @@ class DolibarrApi
|
|||||||
* @param string $feature2 Feature to check, second level of permission (optional). Can be or check with 'level1|level2'.
|
* @param string $feature2 Feature to check, second level of permission (optional). Can be or check with 'level1|level2'.
|
||||||
* @param string $dbt_keyfield Field name for socid foreign key if not fk_soc. Not used if objectid is null (optional)
|
* @param string $dbt_keyfield Field name for socid foreign key if not fk_soc. Not used if objectid is null (optional)
|
||||||
* @param string $dbt_select Field name for select if not rowid. Not used if objectid is null (optional)
|
* @param string $dbt_select Field name for select if not rowid. Not used if objectid is null (optional)
|
||||||
|
* @return bool
|
||||||
* @throws RestException
|
* @throws RestException
|
||||||
*/
|
*/
|
||||||
static function _checkAccessToResource($resource, $resource_id=0, $dbtablename='', $feature2='', $dbt_keyfield='fk_soc', $dbt_select='rowid') {
|
static function _checkAccessToResource($resource, $resource_id=0, $dbtablename='', $feature2='', $dbt_keyfield='fk_soc', $dbt_select='rowid') {
|
||||||
|
|||||||
@ -188,6 +188,7 @@ class Setup extends DolibarrApi
|
|||||||
* @param int $id ID of country
|
* @param int $id ID of country
|
||||||
* @param string $lang Code of the language the name of the
|
* @param string $lang Code of the language the name of the
|
||||||
* country must be translated to
|
* country must be translated to
|
||||||
|
* @return array Array of cleaned object properties
|
||||||
*
|
*
|
||||||
* @url GET dictionary/countries/{id}
|
* @url GET dictionary/countries/{id}
|
||||||
*
|
*
|
||||||
@ -293,6 +294,7 @@ class Setup extends DolibarrApi
|
|||||||
* @param Ccountry $country Country
|
* @param Ccountry $country Country
|
||||||
* @param string $lang Code of the language the name of the
|
* @param string $lang Code of the language the name of the
|
||||||
* country must be translated to
|
* country must be translated to
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function translateLabel($country, $lang)
|
private function translateLabel($country, $lang)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -28,6 +28,7 @@ class Status
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Get status (Dolibarr version)
|
* Get status (Dolibarr version)
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
function index() {
|
function index() {
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|||||||
@ -106,6 +106,7 @@ class BlockedLogAuthority
|
|||||||
* Add a new block to the chain
|
* Add a new block to the chain
|
||||||
*
|
*
|
||||||
* @param string $block new block to chain
|
* @param string $block new block to chain
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function addBlock($block) {
|
public function addBlock($block) {
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,6 @@
|
|||||||
* See https://medium.com/@lhartikk/a-blockchain-in-200-lines-of-code-963cc1cc0e54
|
* See https://medium.com/@lhartikk/a-blockchain-in-200-lines-of-code-963cc1cc0e54
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*ini_set('unserialize_callback_func', 'mycallback');
|
/*ini_set('unserialize_callback_func', 'mycallback');
|
||||||
|
|
||||||
function mycallback($classname)
|
function mycallback($classname)
|
||||||
@ -171,6 +168,7 @@ class BlockedLog
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to retrieve source object (it it still exists)
|
* Try to retrieve source object (it it still exists)
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getObjectLink()
|
public function getObjectLink()
|
||||||
{
|
{
|
||||||
@ -286,6 +284,7 @@ class BlockedLog
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* try to retrieve user author
|
* try to retrieve user author
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getUser()
|
public function getUser()
|
||||||
{
|
{
|
||||||
@ -1029,6 +1028,7 @@ class BlockedLog
|
|||||||
* Check if module was already used or not for at least one recording.
|
* Check if module was already used or not for at least one recording.
|
||||||
*
|
*
|
||||||
* @param int $ignoresystem Ignore system events for the test
|
* @param int $ignoresystem Ignore system events for the test
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function alreadyUsed($ignoresystem=0)
|
function alreadyUsed($ignoresystem=0)
|
||||||
{
|
{
|
||||||
@ -1055,4 +1055,3 @@ class BlockedLog
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1334,6 +1334,7 @@ class Contact extends CommonObject
|
|||||||
* Existing categories are left untouch.
|
* Existing categories are left untouch.
|
||||||
*
|
*
|
||||||
* @param int[]|int $categories Category or categories IDs
|
* @param int[]|int $categories Category or categories IDs
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setCategories($categories)
|
public function setCategories($categories)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -6810,6 +6810,7 @@ abstract class CommonObject
|
|||||||
* Function to load data from a SQL pointer into properties of current object $this
|
* Function to load data from a SQL pointer into properties of current object $this
|
||||||
*
|
*
|
||||||
* @param stdClass $obj Contain data of object from database
|
* @param stdClass $obj Contain data of object from database
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function setVarsFromFetchObj(&$obj)
|
protected function setVarsFromFetchObj(&$obj)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1594,6 +1594,7 @@ function dol_banner_tab($object, $paramid, $morehtml='', $shownav=1, $fieldid='r
|
|||||||
* @param string $langkey Translation key
|
* @param string $langkey Translation key
|
||||||
* @param string $fieldkey Key of the html select field the text refers to
|
* @param string $fieldkey Key of the html select field the text refers to
|
||||||
* @param int $fieldrequired 1=Field is mandatory
|
* @param int $fieldrequired 1=Field is mandatory
|
||||||
|
* @return string
|
||||||
* @deprecated Form::editfieldkey
|
* @deprecated Form::editfieldkey
|
||||||
*/
|
*/
|
||||||
function fieldLabel($langkey, $fieldkey, $fieldrequired=0)
|
function fieldLabel($langkey, $fieldkey, $fieldrequired=0)
|
||||||
@ -7431,6 +7432,7 @@ function getAdvancedPreviewUrl($modulepart, $relativepath, $alldata=0, $param=''
|
|||||||
*
|
*
|
||||||
* @param string $htmlname Id of html object
|
* @param string $htmlname Id of html object
|
||||||
* @param string $addlink Add a 'link to' after
|
* @param string $addlink Add a 'link to' after
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
function ajax_autoselect($htmlname, $addlink='')
|
function ajax_autoselect($htmlname, $addlink='')
|
||||||
{
|
{
|
||||||
@ -7568,6 +7570,7 @@ function dol_mimetype($file, $default='application/octet-stream', $mode=0)
|
|||||||
* @param int $id id of line
|
* @param int $id id of line
|
||||||
* @param bool $checkentity add filter on entity
|
* @param bool $checkentity add filter on entity
|
||||||
* @param string $rowidfield name of the column rowid
|
* @param string $rowidfield name of the column rowid
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getDictvalue($tablename, $field, $id, $checkentity=false, $rowidfield='rowid')
|
function getDictvalue($tablename, $field, $id, $checkentity=false, $rowidfield='rowid')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -233,6 +233,7 @@ function dolNumberToWord($numero, $langs, $numorcurrency='number')
|
|||||||
* @param integer $hundreds Hundreds
|
* @param integer $hundreds Hundreds
|
||||||
* @param integer $tens Tens
|
* @param integer $tens Tens
|
||||||
* @param integer $units Units
|
* @param integer $units Units
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
function hundreds2text($hundreds, $tens, $units)
|
function hundreds2text($hundreds, $tens, $units)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -263,6 +263,7 @@ function pdf_getHeightForLogo($logo, $url = false)
|
|||||||
*
|
*
|
||||||
* @param TCPDF $pdf PDF initialized object
|
* @param TCPDF $pdf PDF initialized object
|
||||||
* @param string $htmlcontent HTML Contect
|
* @param string $htmlcontent HTML Contect
|
||||||
|
* @return number
|
||||||
* @see getStringHeight
|
* @see getStringHeight
|
||||||
*/
|
*/
|
||||||
function pdfGetHeightForHtmlContent(&$pdf, $htmlcontent)
|
function pdfGetHeightForHtmlContent(&$pdf, $htmlcontent)
|
||||||
@ -2120,4 +2121,3 @@ function pdf_getSizeForImage($realpath)
|
|||||||
}
|
}
|
||||||
return array('width'=>$width,'height'=>$height);
|
return array('width'=>$width,'height'=>$height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -77,6 +77,7 @@ class pdf_tcpdflabel extends CommonStickerGenerator
|
|||||||
* @param int $y y position in user units
|
* @param int $y y position in user units
|
||||||
* @param int $w width in user units
|
* @param int $w width in user units
|
||||||
* @param int $h height in user units
|
* @param int $h height in user units
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function writeBarcode(&$pdf, $code, $encoding, $is2d, $x, $y, $w, $h)
|
private function writeBarcode(&$pdf, $code, $encoding, $is2d, $x, $y, $w, $h)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1297,6 +1297,7 @@ class ExpenseReport extends CommonObject
|
|||||||
* @param User $fuser User
|
* @param User $fuser User
|
||||||
* @param Details $details Details
|
* @param Details $details Details
|
||||||
* @param int $notrigger Disable triggers
|
* @param int $notrigger Disable triggers
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
function setDeny($fuser,$details,$notrigger=0)
|
function setDeny($fuser,$details,$notrigger=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -99,6 +99,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Global test setup
|
* Global test setup
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
@ -106,6 +107,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit test setup
|
* Unit test setup
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
@ -115,6 +117,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify pre conditions
|
* Verify pre conditions
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function assertPreConditions()
|
protected function assertPreConditions()
|
||||||
{
|
{
|
||||||
@ -122,6 +125,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle Dolibarr authentication
|
* Handle Dolibarr authentication
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function authenticate()
|
private function authenticate()
|
||||||
{
|
{
|
||||||
@ -142,6 +146,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Test enabling developer mode
|
* Test enabling developer mode
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testEnableDeveloperMode()
|
public function testEnableDeveloperMode()
|
||||||
{
|
{
|
||||||
@ -161,6 +166,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test enabling the module
|
* Test enabling the module
|
||||||
*
|
*
|
||||||
* @depends testEnableDeveloperMode
|
* @depends testEnableDeveloperMode
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testModuleEnabled()
|
public function testModuleEnabled()
|
||||||
{
|
{
|
||||||
@ -186,6 +192,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test access to the configuration page
|
* Test access to the configuration page
|
||||||
*
|
*
|
||||||
* @depends testModuleEnabled
|
* @depends testModuleEnabled
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testConfigurationPage()
|
public function testConfigurationPage()
|
||||||
{
|
{
|
||||||
@ -198,6 +205,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test access to the about page
|
* Test access to the about page
|
||||||
*
|
*
|
||||||
* @depends testConfigurationPage
|
* @depends testConfigurationPage
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testAboutPage()
|
public function testAboutPage()
|
||||||
{
|
{
|
||||||
@ -210,6 +218,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test about page is rendering Markdown
|
* Test about page is rendering Markdown
|
||||||
*
|
*
|
||||||
* @depends testAboutPage
|
* @depends testAboutPage
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testAboutPageRendersMarkdownReadme()
|
public function testAboutPageRendersMarkdownReadme()
|
||||||
{
|
{
|
||||||
@ -226,6 +235,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test box is properly declared
|
* Test box is properly declared
|
||||||
*
|
*
|
||||||
* @depends testModuleEnabled
|
* @depends testModuleEnabled
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testBoxDeclared()
|
public function testBoxDeclared()
|
||||||
{
|
{
|
||||||
@ -238,6 +248,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test trigger is properly enabled
|
* Test trigger is properly enabled
|
||||||
*
|
*
|
||||||
* @depends testModuleEnabled
|
* @depends testModuleEnabled
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testTriggerDeclared()
|
public function testTriggerDeclared()
|
||||||
{
|
{
|
||||||
@ -254,6 +265,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
* Test trigger is properly declared
|
* Test trigger is properly declared
|
||||||
*
|
*
|
||||||
* @depends testTriggerDeclared
|
* @depends testTriggerDeclared
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testTriggerEnabled()
|
public function testTriggerEnabled()
|
||||||
{
|
{
|
||||||
@ -268,6 +280,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify post conditions
|
* Verify post conditions
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function assertPostConditions()
|
protected function assertPostConditions()
|
||||||
{
|
{
|
||||||
@ -275,6 +288,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit test teardown
|
* Unit test teardown
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
@ -282,6 +296,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Global test teardown
|
* Global test teardown
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -32,6 +32,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Global test setup
|
* Global test setup
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
@ -40,6 +41,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit test setup
|
* Unit test setup
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
@ -48,6 +50,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify pre conditions
|
* Verify pre conditions
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function assertPreConditions()
|
protected function assertPreConditions()
|
||||||
{
|
{
|
||||||
@ -56,6 +59,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A sample test
|
* A sample test
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function testSomething()
|
public function testSomething()
|
||||||
{
|
{
|
||||||
@ -66,6 +70,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify post conditions
|
* Verify post conditions
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function assertPostConditions()
|
protected function assertPostConditions()
|
||||||
{
|
{
|
||||||
@ -74,6 +79,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit test teardown
|
* Unit test teardown
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
@ -82,6 +88,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Global test teardown
|
* Global test teardown
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass()
|
||||||
{
|
{
|
||||||
@ -92,6 +99,7 @@ class MyObjectTest extends \PHPUnit_Framework_TestCase
|
|||||||
* Unsuccessful test
|
* Unsuccessful test
|
||||||
*
|
*
|
||||||
* @param Exception $e Exception
|
* @param Exception $e Exception
|
||||||
|
* @return void
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
protected function onNotSuccessfulTest(Exception $e)
|
protected function onNotSuccessfulTest(Exception $e)
|
||||||
|
|||||||
@ -570,6 +570,7 @@ class MultiCurrency extends CommonObject
|
|||||||
*
|
*
|
||||||
* @param int $fk_facture id of facture
|
* @param int $fk_facture id of facture
|
||||||
* @param string $table facture or facture_fourn
|
* @param string $table facture or facture_fourn
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function getInvoiceRate($fk_facture, $table='facture')
|
public static function getInvoiceRate($fk_facture, $table='facture')
|
||||||
{
|
{
|
||||||
@ -621,6 +622,7 @@ class MultiCurrency extends CommonObject
|
|||||||
* Sync rates from api
|
* Sync rates from api
|
||||||
*
|
*
|
||||||
* @param array $response array of reponse from api to sync dolibarr rates
|
* @param array $response array of reponse from api to sync dolibarr rates
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function syncRates($response)
|
public static function syncRates($response)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4504,6 +4504,7 @@ class Product extends CommonObject
|
|||||||
* Existing categories are left untouch.
|
* Existing categories are left untouch.
|
||||||
*
|
*
|
||||||
* @param int[]|int $categories Category or categories IDs
|
* @param int[]|int $categories Category or categories IDs
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setCategories($categories) {
|
public function setCategories($categories) {
|
||||||
// Handle single category
|
// Handle single category
|
||||||
|
|||||||
@ -1904,6 +1904,7 @@ class Project extends CommonObject
|
|||||||
* Existing categories are left untouch.
|
* Existing categories are left untouch.
|
||||||
*
|
*
|
||||||
* @param int[]|int $categories Category or categories IDs
|
* @param int[]|int $categories Category or categories IDs
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setCategories($categories)
|
public function setCategories($categories)
|
||||||
{
|
{
|
||||||
@ -1972,4 +1973,3 @@ class Project extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -63,6 +63,7 @@ class ActionsStripeconnect
|
|||||||
* @param array $parameters Parameters
|
* @param array $parameters Parameters
|
||||||
* @param Object $object Object
|
* @param Object $object Object
|
||||||
* @param string $action Action
|
* @param string $action Action
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function formObjectOptions($parameters, &$object, &$action)
|
function formObjectOptions($parameters, &$object, &$action)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -910,6 +910,7 @@ class User extends CommonObject
|
|||||||
* Existing categories are left untouch.
|
* Existing categories are left untouch.
|
||||||
*
|
*
|
||||||
* @param int[]|int $categories Category or categories IDs
|
* @param int[]|int $categories Category or categories IDs
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setCategories($categories)
|
public function setCategories($categories)
|
||||||
{
|
{
|
||||||
@ -3147,4 +3148,3 @@ class User extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -94,6 +94,7 @@ class RestAPIDocumentTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Init phpunit tests.
|
* Init phpunit tests.
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
@ -125,6 +126,7 @@ class RestAPIDocumentTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* End phpunit tests.
|
* End phpunit tests.
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user