Skip to content
Permalink
Browse files

Use less strictness where necessary.

  • Loading branch information...
dereuromark committed Nov 25, 2016
1 parent f36de8a commit 177136c6bc288e6c0f9d9e790273f27b455fea10
Showing with 7 additions and 7 deletions.
  1. +6 −6 src/Database/Query.php
  2. +1 −1 src/View/View.php
@@ -94,24 +94,24 @@ class Query implements ExpressionInterface, IteratorAggregate
/**
* Statement object resulting from executing this query.
*
* @var \Cake\Database\StatementInterface
* @var \Cake\Database\StatementInterface|null
*/
protected $_iterator;
protected $_iterator = null;
/**
* The object responsible for generating query placeholders and temporarily store values
* associated to each of those.
*
* @var \Cake\Database\ValueBinder
* @var \Cake\Database\ValueBinder|null
*/
protected $_valueBinder;
protected $_valueBinder = null;
/**
* Instance of functions builder object used for generating arbitrary SQL functions.
*
* @var \Cake\Database\FunctionsBuilder
* @var \Cake\Database\FunctionsBuilder|null
*/
protected $_functionsBuilder;
protected $_functionsBuilder = null;
/**
* Boolean for tracking whether or not buffered results
@@ -334,7 +334,7 @@ public function __construct(
$this->eventManager($eventManager);
$this->request = $request ?: Router::getRequest(true);
$this->response = $response ?: new Response();
if ($this->request === null) {
if (!$this->request) {
$this->request = new ServerRequest([
'base' => '',
'url' => '',

0 comments on commit 177136c

Please sign in to comment.
You can’t perform that action at this time.