Skip to content
Snippets Groups Projects
Commit 22fe41a8 authored by Josh Pollock's avatar Josh Pollock
Browse files

code fixes

parent 5be55d08
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ use calderawp\CalderaFormsQuery\Features\FeatureContainer;
function CalderaFormsQueries()
{
static $CalderaFormsQueries;
if( ! $CalderaFormsQueries ){
if (! $CalderaFormsQueries) {
global $wpdb;
$CalderaFormsQueries = new FeatureContainer(
new Container(),
......@@ -24,4 +24,4 @@ function CalderaFormsQueries()
}
return $CalderaFormsQueries;
}
\ No newline at end of file
}
......@@ -306,7 +306,7 @@ class FeatureContainer extends Container
* @param $results
* @return array
*/
private function reduceResultsToEntryId($results,$colum='entry_id')
private function reduceResultsToEntryId($results, $colum = 'entry_id')
{
foreach ($results as &$result) {
$result = $result->$colum;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment