Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CS] Code style Fix some inline doc blocks for IDE hinting - round 1 #19862

Merged
merged 2 commits into from
Mar 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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