Skip to content

Commit

Permalink
Merge pull request #216 from CodeLingoBot/rewrite-remyla-damas-core-p…
Browse files Browse the repository at this point in the history
…sr2-lower-case-constant-values

Change PHP keywords to comply with PSR2
  • Loading branch information
remyla committed Apr 10, 2019
2 parents acde9c4 + 0cad0b9 commit b4f5714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server-php/file.php
Expand Up @@ -36,7 +36,7 @@ function checkfilefound( $path )
case "sha1":
checkfilefound( $assetsLCL . arg("path") );
$sha1 = sha1_file( $assetsLCL . arg("path") );
if( $sha1 === FALSE )
if( $sha1 === false )
{
header("HTTP/1.1: 409 Conflict");
echo "sha1_file( ". $assetsLCL . arg("path") . " ) returned FALSE";
Expand Down
2 changes: 1 addition & 1 deletion server-php/lib/model.php
Expand Up @@ -103,7 +103,7 @@ static function delete ( $id )
* @param {String} limit Limit and offset for result (MySQL Syntax)
* @returns {Array} array of matching node indexes
*/
static function search ( $keys, $sortby = 'label', $order = 'DESC', $limit = NULL )
static function search ( $keys, $sortby = 'label', $order = 'DESC', $limit = null )
{
if( $keys === null )
{
Expand Down

0 comments on commit b4f5714

Please sign in to comment.