Skip to content

Conversation

bluebat-pl
Copy link
Collaborator

  1. Remove bad comments
  2. Wrap condition

@bluebat-pl bluebat-pl added the Api Issues that belong to platform's api label Aug 29, 2018

define('STILUS_SERVER_ENABLED', true);
define('STILUS_SERVER_START', time());
\define('STILUS_SERVER_ENABLED', true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bluebat-pl Please import function to current namespace.

isset($config['api']['http_server']['enable']) &&
$config['api']['http_server']['enable']
) {
if ($this->isServerEnable($config))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bluebat-pl If you need it to be more expressive please use variable: $isServerEnabled = .... instead method call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Api Issues that belong to platform's api

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants