Skip to content

Commit

Permalink
[CS] Code style Fix some inline doc blocks for IDE hinting - round 1 (#…
Browse files Browse the repository at this point in the history
…19862)

* Fix Operator Spacing

* Fix inline doc blocks for IDE hinting
  • Loading branch information
photodude authored and Michael Babker committed Mar 17, 2018
1 parent c35ef51 commit fede2d4
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions installation/controller/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerDefault extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Get the document object.
Expand Down Expand Up @@ -105,7 +105,7 @@ public function execute()
$vClass = 'InstallationViewDefault';
}

/* @var JViewHtml $view */
/** @var JViewHtml $view */
$view = new $vClass($model, $paths);
$view->setLayout($lName);

Expand Down
2 changes: 1 addition & 1 deletion installation/controller/detectftproot.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerDetectftproot extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/ftp.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerFtp extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerInstallConfig extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerInstallDatabase extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/database_backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerInstallDatabase_backup extends JControllerBase
public function execute()
{
// Get the application.
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/email.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct()
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries. - @TODO - Restore this check
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/languages.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct()
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/install/sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerInstallSample extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/preinstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerPreinstall extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/removefolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerRemovefolder extends JControllerBase
public function execute()
{
// Get the application.
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/setdefaultlanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct()
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/setlanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerSetlanguage extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/site.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerSite extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerSummary extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion installation/controller/verifyftpsettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class InstallationControllerVerifyftpsettings extends JControllerBase
public function execute()
{
// Get the application
/* @var InstallationApplicationWeb $app */
/** @var InstallationApplicationWeb $app */
$app = $this->getApplication();

// Check for request forgeries.
Expand Down
2 changes: 1 addition & 1 deletion libraries/cms/html/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public static function modal($selector = 'modal', $params = array())
$opt['backdrop'] = isset($params['backdrop']) ? (boolean) $params['backdrop'] : true;
$opt['keyboard'] = isset($params['keyboard']) ? (boolean) $params['keyboard'] : true;
$opt['show'] = isset($params['show']) ? (boolean) $params['show'] : false;
$opt['remote'] = isset($params['remote']) ? $params['remote'] : '';
$opt['remote'] = isset($params['remote']) ? $params['remote'] : '';

$options = JHtml::getJSObject($opt);

Expand Down
4 changes: 2 additions & 2 deletions templates/beez3/html/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function modChrome_beezDivision($module, &$params, &$attribs)
function modChrome_beezHide($module, &$params, &$attribs)
{
$headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3;
$state = isset($attribs['state']) ? (int) $attribs['state'] :0;
$state = isset($attribs['state']) ? (int) $attribs['state'] : 0;

if (!empty ($module->content)) { ?>

Expand All @@ -60,7 +60,7 @@ class="no"><img src="templates/beez3/images/plus.png"
*/
function modChrome_beezTabs($module, $params, $attribs)
{
$area = isset($attribs['id']) ? (int) $attribs['id'] :'1';
$area = isset($attribs['id']) ? (int) $attribs['id'] : '1';
$area = 'area-'.$area;

static $modulecount;
Expand Down

0 comments on commit fede2d4

Please sign in to comment.