* [refac,0.1h] add var type.
This commit is contained in:
@@ -41,7 +41,7 @@ class design extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function commonAction(int $projectID = 0, int $productID = 0, int $designID = 0, $type = 'all')
|
||||
public function commonAction(int $projectID = 0, int $productID = 0, int $designID = 0, string $type = 'all')
|
||||
{
|
||||
$products = $this->product->getProductPairsByProject($projectID);
|
||||
$products[0] = $this->lang->product->all;
|
||||
|
||||
Reference in New Issue
Block a user