MNT PHP Lint failures corrected
This commit is contained in:
parent
667b0c1221
commit
bfb8b65aa2
|
@ -151,7 +151,8 @@ class Requirements implements Flushable
|
|||
* - 'crossorigin' : Cross-origin policy for the resource
|
||||
* @param string|int $uniquenessID A unique ID that ensures a piece of code is only added once
|
||||
*/
|
||||
public static function customScriptWithAttributes($script, $options = [], $uniquenessID = null){
|
||||
public static function customScriptWithAttributes($script, $options = [], $uniquenessID = null)
|
||||
{
|
||||
self::backend()->customScriptWithAttributes($script, $options, $uniquenessID);
|
||||
}
|
||||
|
||||
|
|
|
@ -510,7 +510,8 @@ class Requirements_Backend
|
|||
* - 'crossorigin' : Cross-origin policy for the resource
|
||||
* @param string|int $uniquenessID A unique ID that ensures a piece of code is only added once
|
||||
*/
|
||||
public function customScriptWithAttributes($script, $options = [], $uniquenessID = null){
|
||||
public function customScriptWithAttributes($script, $options = [], $uniquenessID = null)
|
||||
{
|
||||
// Get type
|
||||
$type = null;
|
||||
if (isset($this->customScript[$uniquenessID]['type'])) {
|
||||
|
|
Loading…
Reference in New Issue