1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-17 08:32:51 +01:00

php-cs-fixer

This commit is contained in:
Hillel Coren 2017-01-30 21:54:09 +02:00
parent 30515c69f3
commit eb2e02a809
11 changed files with 15 additions and 4 deletions

View File

@ -28,6 +28,7 @@ return PhpCsFixer\Config::create()
'hash_to_slash_comment' => true,
'heredoc_to_nowdoc' => true,
'include' => true,
'linebreak_after_opening_tag' => true,
'lowercase_cast' => true,
'lowercase_constants' => true,
'lowercase_keywords' => true,

View File

@ -166,6 +166,7 @@ class AccountGatewayController extends BaseController
/**
* Stores new account.
*
* @param mixed $accountGatewayPublicId
*/
public function save($accountGatewayPublicId = false)

View File

@ -124,6 +124,7 @@ class ClientApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdateClientRequest $request, $publicId)

View File

@ -103,6 +103,7 @@ class ExpenseApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdateExpenseRequest $request, $publicId)

View File

@ -325,6 +325,7 @@ class InvoiceApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdateInvoiceAPIRequest $request, $publicId)

View File

@ -71,6 +71,7 @@ class PaymentApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdatePaymentRequest $request, $publicId)

View File

@ -107,6 +107,7 @@ class ProductApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdateProductRequest $request, $publicId)

View File

@ -104,6 +104,7 @@ class TaxRateApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdateTaxRateRequest $request, $publicId)

View File

@ -151,6 +151,7 @@ class UserController extends BaseController
/**
* Stores new account.
*
* @param mixed $userPublicId
*/
public function save($userPublicId = false)

View File

@ -109,6 +109,7 @@ class VendorApiController extends BaseAPIController
* description="an ""unexpected"" error"
* )
* )
*
* @param mixed $publicId
*/
public function update(UpdateVendorRequest $request, $publicId)

View File

@ -789,11 +789,12 @@ class parseCSV
* Check if passed info might be delimiter
* - only used by find_delimiter().
*
* @param mixed $char
* @param mixed $array
* @param mixed $depth
* @param mixed $preferred
*
* @return special string used for delimiter selection, or false
* @param mixed $char
* @param mixed $array
* @param mixed $depth
* @param mixed $preferred
*/
public function _check_count($char, $array, $depth, $preferred)
{