fix phpcs findings

This commit is contained in:
Dennis Eichhorn 2019-09-12 19:47:00 +02:00
parent 272d53f04d
commit 0ea60b07e5
29 changed files with 174 additions and 174 deletions

View File

@ -35,7 +35,7 @@ export class Logger {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getInstance (verbose = true, ui = true, remote = false) static getInstance (verbose = true, ui = true, remote = false)
{ {
@ -55,7 +55,7 @@ export class Logger {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
interpolate (message, context, level) interpolate (message, context, level)
{ {
@ -79,7 +79,7 @@ export class Logger {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
createContext (message, context, level) createContext (message, context, level)
{ {
@ -103,7 +103,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
write (message, context, level) write (message, context, level)
{ {
@ -131,7 +131,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
writeVerbose (message, context, level) writeVerbose (message, context, level)
{ {
@ -170,7 +170,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
writeRemote (message, context, level) writeRemote (message, context, level)
{ {
@ -194,7 +194,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
emergency (message, context = {}) emergency (message, context = {})
{ {
@ -209,7 +209,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
alert (message, context = {}) alert (message, context = {})
{ {
@ -224,7 +224,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
critical (message, context = {}) critical (message, context = {})
{ {
@ -239,7 +239,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
error (message, context = {}) error (message, context = {})
{ {
@ -254,7 +254,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
warning (message, context = {}) warning (message, context = {})
{ {
@ -269,7 +269,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
notice (message, context = {}) notice (message, context = {})
{ {
@ -284,7 +284,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
info (message, context = {}) info (message, context = {})
{ {
@ -299,7 +299,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
debug (message, context = {}) debug (message, context = {})
{ {
@ -315,7 +315,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
log (level, message, context = {}) log (level, message, context = {})
{ {
@ -330,7 +330,7 @@ export class Logger {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
console (message, context = {}) console (message, context = {})
{ {

View File

@ -24,7 +24,7 @@ export class AppNotification {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setStatus (status) setStatus (status)
{ {
@ -38,7 +38,7 @@ export class AppNotification {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
send (msg) send (msg)
{ {

View File

@ -24,7 +24,7 @@ export class BrowserNotification {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setStatus (status) setStatus (status)
{ {
@ -36,7 +36,7 @@ export class BrowserNotification {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
requestPermission () requestPermission ()
{ {
@ -61,7 +61,7 @@ export class BrowserNotification {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
send (msg) send (msg)
{ {

View File

@ -30,7 +30,7 @@ export class NotificationManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
send (message, type) send (message, type)
{ {
@ -46,7 +46,7 @@ export class NotificationManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getAppNotifier () getAppNotifier ()
{ {
@ -58,7 +58,7 @@ export class NotificationManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getBrowserNotifier () getBrowserNotifier ()
{ {

View File

@ -48,7 +48,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setContentTypeBasedOnType(type) setContentTypeBasedOnType(type)
{ {
@ -69,7 +69,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getBrowser() static getBrowser()
{ {
@ -102,7 +102,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getOS() static getOS()
{ {
@ -127,7 +127,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setMethod(method) setMethod(method)
{ {
@ -141,7 +141,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getMethod() getMethod()
{ {
@ -157,7 +157,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setResponseType(type) setResponseType(type)
{ {
@ -171,7 +171,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getResponseType() getResponseType()
{ {
@ -186,7 +186,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setRequestHeader(type, header) setRequestHeader(type, header)
{ {
@ -198,7 +198,7 @@ export class Request {
* *
* @return {Array} * @return {Array}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getRequestHeader() getRequestHeader()
{ {
@ -212,7 +212,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setUri(uri) setUri(uri)
{ {
@ -224,7 +224,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getUri() getUri()
{ {
@ -238,7 +238,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setSuccess(callback) setSuccess(callback)
{ {
@ -253,7 +253,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setResultCallback(status, callback) setResultCallback(status, callback)
{ {
@ -267,7 +267,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setData(data) setData(data)
{ {
@ -279,7 +279,7 @@ export class Request {
* *
* @return {Array} * @return {Array}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getData() getData()
{ {
@ -295,7 +295,7 @@ export class Request {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setType(type) setType(type)
{ {
@ -310,7 +310,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getType() getType()
{ {
@ -322,7 +322,7 @@ export class Request {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
queryfy(obj) queryfy(obj)
{ {
@ -341,7 +341,7 @@ export class Request {
* *
* @return {Array} * @return {Array}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
send() send()
{ {

View File

@ -28,7 +28,7 @@ export class Response {
* *
* @return {mixed} * @return {mixed}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
get (id) get (id)
{ {
@ -40,7 +40,7 @@ export class Response {
* *
* @return {int} * @return {int}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
count () count ()
{ {

View File

@ -30,7 +30,7 @@ export class ResponseManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
add(key, message, request) add(key, message, request)
{ {
@ -53,7 +53,7 @@ export class ResponseManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
run(key, data, request) run(key, data, request)
{ {

View File

@ -24,7 +24,7 @@ export class ModuleFactory {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getInstance (module, app) static getInstance (module, app)
{ {

View File

@ -28,7 +28,7 @@ export class ModuleManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
get (module) get (module)
{ {

View File

@ -113,7 +113,7 @@ export class ActionManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindListener (id, listener, removable = false) bindListener (id, listener, removable = false)
{ {

View File

@ -117,7 +117,7 @@ export class AdvancedInput {
* @param {object} self This reference * @param {object} self This reference
* @param {object} data Response data * @param {object} data Response data
* *
* @since 1.0.0 * @since 1.0.0
*/ */
remoteCallback(self, data) remoteCallback(self, data)
{ {
@ -181,7 +181,7 @@ export class AdvancedInput {
* *
* @param {object} self This reference * @param {object} self This reference
* *
* @since 1.0.0 * @since 1.0.0
*/ */
changeCallback(self) changeCallback(self)
{ {
@ -198,7 +198,7 @@ export class AdvancedInput {
* *
* @param {object} e Element to select in dropdown * @param {object} e Element to select in dropdown
* *
* @since 1.0.0 * @since 1.0.0
*/ */
selectOption(e) selectOption(e)
{ {
@ -213,7 +213,7 @@ export class AdvancedInput {
* *
* @param {object} self This reference * @param {object} self This reference
* *
* @since 1.0.0 * @since 1.0.0
*/ */
clearDataListSelection(self) clearDataListSelection(self)
{ {
@ -234,7 +234,7 @@ export class AdvancedInput {
* *
* @param {object} self This reference * @param {object} self This reference
* *
* @since 1.0.0 * @since 1.0.0
*/ */
addToResultList(self) { addToResultList(self) {
if (self.inputField.getAttribute('data-autocomplete') === 'true') { if (self.inputField.getAttribute('data-autocomplete') === 'true') {
@ -305,7 +305,7 @@ export class AdvancedInput {
* @param {object} self This reference (passed to callback) * @param {object} self This reference (passed to callback)
* @param {object} data Data (passed to callback) * @param {object} data Data (passed to callback)
* *
* @since 1.0.0 * @since 1.0.0
*/ */
inputTimeDelay(action, callback, self, data) inputTimeDelay(action, callback, self, data)
{ {

View File

@ -124,7 +124,7 @@ export class AdvancedSelect {
* @param {object} self This reference * @param {object} self This reference
* @param {object} data Response data * @param {object} data Response data
* *
* @since 1.0.0 * @since 1.0.0
*/ */
remoteCallback(self, data) { remoteCallback(self, data) {
console.log(data); console.log(data);
@ -187,7 +187,7 @@ export class AdvancedSelect {
* *
* @param {object} self This reference * @param {object} self This reference
* *
* @since 1.0.0 * @since 1.0.0
*/ */
changeCallback(self) { changeCallback(self) {
// if remote data // if remote data
@ -203,7 +203,7 @@ export class AdvancedSelect {
* *
* @param {object} e Element to select in dropdown * @param {object} e Element to select in dropdown
* *
* @since 1.0.0 * @since 1.0.0
*/ */
selectOption(e) { selectOption(e) {
e.focus(); e.focus();
@ -217,7 +217,7 @@ export class AdvancedSelect {
* *
* @param {object} self This reference * @param {object} self This reference
* *
* @since 1.0.0 * @since 1.0.0
*/ */
clearDataListSelection(self) { clearDataListSelection(self) {
const list = self.dataListBody.getElementsByTagName('tr'), const list = self.dataListBody.getElementsByTagName('tr'),
@ -237,7 +237,7 @@ export class AdvancedSelect {
* *
* @param {object} self This reference * @param {object} self This reference
* *
* @since 1.0.0 * @since 1.0.0
*/ */
addToResultList(self) { addToResultList(self) {
if (self.inputField.getAttribute('data-autocomplete') === 'true') { if (self.inputField.getAttribute('data-autocomplete') === 'true') {
@ -308,7 +308,7 @@ export class AdvancedSelect {
* @param {object} self This reference (passed to callback) * @param {object} self This reference (passed to callback)
* @param {object} data Data (passed to callback) * @param {object} data Data (passed to callback)
* *
* @since 1.0.0 * @since 1.0.0
*/ */
inputTimeDelay(action, callback, self, data) { inputTimeDelay(action, callback, self, data) {
if (AdvancedSelect.timerDelay[action.id]) { if (AdvancedSelect.timerDelay[action.id]) {

View File

@ -387,7 +387,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindAddExternal(id) bindAddExternal(id)
{ {
@ -464,7 +464,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindAddInline(createForm, id) bindAddInline(createForm, id)
{ {
@ -517,7 +517,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindUpdatable(update, id) bindUpdatable(update, id)
{ {
@ -536,7 +536,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindUpdatableInline(update, id) bindUpdatableInline(update, id)
{ {
@ -691,7 +691,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindCancelInline(cancel, id) bindCancelInline(cancel, id)
{ {
@ -710,7 +710,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindSaveInline(save, id) bindSaveInline(save, id)
{ {
@ -814,7 +814,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
removeEditTemplate(ele, id) removeEditTemplate(ele, id)
{ {
@ -871,7 +871,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindUpdatableExternal(update, id) bindUpdatableExternal(update, id)
{ {
@ -932,7 +932,7 @@ export class Form {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindRemovable(remove, id) bindRemovable(remove, id)
{ {

View File

@ -27,7 +27,7 @@ export class Tab {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bind (id) bind (id)
{ {
@ -54,7 +54,7 @@ export class Tab {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindElement (e) bindElement (e)
{ {
@ -110,7 +110,7 @@ export class Tab {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
activateTabUri(e) activateTabUri(e)
{ {

View File

@ -33,7 +33,7 @@ export class Table {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bind (id) bind (id)
{ {
@ -73,7 +73,7 @@ export class Table {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindTable (id) bindTable (id)
{ {
@ -119,7 +119,7 @@ export class Table {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindExport(exports) bindExport(exports)
{ {
@ -146,7 +146,7 @@ export class Table {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindReorder(sorting, id) bindReorder(sorting, id)
{ {
@ -179,7 +179,7 @@ export class Table {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindSorting(sorting, id) bindSorting(sorting, id)
{ {
@ -248,7 +248,7 @@ export class Table {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindFiltering(filtering, id) bindFiltering(filtering, id)
{ {

View File

@ -49,7 +49,7 @@ export class GeneralUI {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindHref (e) bindHref (e)
{ {
@ -72,7 +72,7 @@ export class GeneralUI {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindLazyLoad (e) bindLazyLoad (e)
{ {
@ -109,7 +109,7 @@ export class GeneralUI {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bindInput (e) bindInput (e)
{ {

View File

@ -28,7 +28,7 @@ export class InputManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getKeyboardManager () getKeyboardManager ()
{ {
@ -40,7 +40,7 @@ export class InputManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getMouseManager () getMouseManager ()
{ {
@ -52,7 +52,7 @@ export class InputManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getVoiceManager () getVoiceManager ()
{ {

View File

@ -27,7 +27,7 @@ export class KeyboardManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
add (element, keys, callback) add (element, keys, callback)
{ {
@ -47,7 +47,7 @@ export class KeyboardManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bind (element) bind (element)
{ {
@ -78,7 +78,7 @@ export class KeyboardManager {
* *
* @throws {Error} * @throws {Error}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
run (element, event) run (element, event)
{ {

View File

@ -31,7 +31,7 @@ export class MouseManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
add (element, type, button, callback, exact) add (element, type, button, callback, exact)
{ {
@ -51,7 +51,7 @@ export class MouseManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bind (element, type) bind (element, type)
{ {
@ -99,7 +99,7 @@ export class MouseManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
run (element, event) run (element, event)
{ {

View File

@ -35,7 +35,7 @@ export class ReadManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
read (text) read (text)
{ {
@ -56,7 +56,7 @@ export class ReadManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setLanguage (lang) setLanguage (lang)
{ {
@ -70,7 +70,7 @@ export class ReadManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setPitch (pitch) setPitch (pitch)
{ {
@ -84,7 +84,7 @@ export class ReadManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setRate (rate) setRate (rate)
{ {
@ -96,7 +96,7 @@ export class ReadManager {
* *
* @return {Array} * @return {Array}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getVoices () getVoices ()
{ {

View File

@ -37,7 +37,7 @@ export class VoiceManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setup() setup()
{ {
@ -87,7 +87,7 @@ export class VoiceManager {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getCommandsString() getCommandsString()
{ {
@ -101,7 +101,7 @@ export class VoiceManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setLanguage(lang) setLanguage(lang)
{ {
@ -117,7 +117,7 @@ export class VoiceManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
add(command, callback) add(command, callback)
{ {
@ -129,7 +129,7 @@ export class VoiceManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
start() start()
{ {
@ -145,7 +145,7 @@ export class VoiceManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
stop() stop()
{ {

View File

@ -49,7 +49,7 @@ export class UIManager {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
bind(id) bind(id)
{ {
@ -86,7 +86,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getFormManager() getFormManager()
{ {
@ -98,7 +98,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getActionManager() getActionManager()
{ {
@ -110,7 +110,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getDragNDrop() getDragNDrop()
{ {
@ -122,7 +122,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getTabManager() getTabManager()
{ {
@ -134,7 +134,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getTableManager() getTableManager()
{ {
@ -146,7 +146,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getDOMObserver() getDOMObserver()
{ {
@ -158,7 +158,7 @@ export class UIManager {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getGeneralUI() getGeneralUI()
{ {

View File

@ -81,7 +81,7 @@ export class Http {
* *
* @return {null|string} * @return {null|string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getUriQueryParameter (query, name) static getUriQueryParameter (query, name)
{ {
@ -100,7 +100,7 @@ export class Http {
* *
* @return {Object} * @return {Object}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getAllUriQueryParameters (query) static getAllUriQueryParameters (query)
{ {
@ -140,7 +140,7 @@ export class Http {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
set (uri) set (uri)
{ {
@ -176,7 +176,7 @@ export class Http {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
setRootPath(rootPath) setRootPath(rootPath)
{ {
@ -189,7 +189,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getBase() getBase()
{ {
@ -201,7 +201,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getScheme() getScheme()
{ {
@ -213,7 +213,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getHost() getHost()
{ {
@ -225,7 +225,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getPort() getPort()
{ {
@ -237,7 +237,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getUser() getUser()
{ {
@ -249,7 +249,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getPass() getPass()
{ {
@ -261,7 +261,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getQuery() getQuery()
{ {
@ -273,7 +273,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getUri() getUri()
{ {
@ -285,7 +285,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getFragment() getFragment()
{ {
@ -297,7 +297,7 @@ export class Http {
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getPath() getPath()
{ {
@ -309,7 +309,7 @@ export class Http {
* *
* @return {int} * @return {int}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
getPathOffset() getPathOffset()
{ {

View File

@ -40,7 +40,7 @@ export class UriFactory {
* *
* @return {null|string} * @return {null|string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static getQuery (key) static getQuery (key)
{ {
@ -52,7 +52,7 @@ export class UriFactory {
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static clearAll () static clearAll ()
{ {
@ -68,7 +68,7 @@ export class UriFactory {
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static clear (key) static clear (key)
{ {
@ -88,7 +88,7 @@ export class UriFactory {
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static clearLike (pattern) static clearLike (pattern)
{ {
@ -217,7 +217,7 @@ export class UriFactory {
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
static setupUriBuilder (uri) static setupUriBuilder (uri)
{ {

View File

@ -21,7 +21,7 @@
* *
* @return {mixed} * @return {mixed}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.getArray = function(path, data, delim = '/') jsOMS.getArray = function(path, data, delim = '/')
{ {

View File

@ -19,7 +19,7 @@
* *
* @return {callback} * @return {callback}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.watcher = function () jsOMS.watcher = function ()
{ {
@ -39,7 +39,7 @@
* *
* @return {Array} * @return {Array}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.merge = function (target, source) jsOMS.merge = function (target, source)
{ {
@ -80,7 +80,7 @@
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isset = function (variable) jsOMS.isset = function (variable)
{ {

View File

@ -20,7 +20,7 @@
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.trim = function(str, char = ' ') jsOMS.trim = function(str, char = ' ')
{ {
@ -35,7 +35,7 @@
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.rtrim = function(str, char = ' ') jsOMS.rtrim = function(str, char = ' ')
{ {
@ -50,7 +50,7 @@
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.ltrim = function(str, char = ' ') jsOMS.ltrim = function(str, char = ' ')
{ {
@ -64,7 +64,7 @@
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isValidJson = function (jsonString) jsOMS.isValidJson = function (jsonString)
{ {
@ -84,7 +84,7 @@
* *
* @return {int} * @return {int}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.substr_count = function(str, substr) { jsOMS.substr_count = function(str, substr) {
str += ''; str += '';
@ -120,7 +120,7 @@
* *
* @return {int} * @return {int}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.hash = function (str) jsOMS.hash = function (str)
{ {
@ -142,7 +142,7 @@
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.strpbrk = function (haystack, chars) jsOMS.strpbrk = function (haystack, chars)
{ {
@ -167,7 +167,7 @@
* *
* @return {string} * @return {string}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.htmlspecialchars = function (text, quotes) { jsOMS.htmlspecialchars = function (text, quotes) {
let map = { let map = {

View File

@ -22,7 +22,7 @@
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.hasClass = function (ele, cls) jsOMS.hasClass = function (ele, cls)
{ {
@ -42,7 +42,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.triggerEvent = function (element, eventName) jsOMS.triggerEvent = function (element, eventName)
{ {
@ -69,7 +69,7 @@
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.addClass = function (ele, cls) jsOMS.addClass = function (ele, cls)
{ {
@ -88,7 +88,7 @@
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.removeClass = function (ele, cls) jsOMS.removeClass = function (ele, cls)
{ {
@ -107,7 +107,7 @@
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.preventAll = function (event) jsOMS.preventAll = function (event)
{ {
@ -129,7 +129,7 @@
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.ready = function (func) jsOMS.ready = function (func)
{ {
@ -156,7 +156,7 @@
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.empty = function (ele) jsOMS.empty = function (ele)
{ {
@ -174,7 +174,7 @@
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isNode = function (ele) jsOMS.isNode = function (ele)
{ {
@ -193,7 +193,7 @@
* *
* @return {boolean} * @return {boolean}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isElement = function (o) jsOMS.isElement = function (o)
{ {
@ -213,7 +213,7 @@
* *
* @return {Element} * @return {Element}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.getByClass = function (ele, cls) jsOMS.getByClass = function (ele, cls)
{ {
@ -237,7 +237,7 @@
* *
* @return {void} * @return {void}
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.addEventListenerToAll = function (e, event, callback) jsOMS.addEventListenerToAll = function (e, event, callback)
{ {

View File

@ -22,7 +22,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.triggerEvent = function(element, eventName) jsOMS.triggerEvent = function(element, eventName)
{ {
@ -50,7 +50,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.getArray = function(path, data, delim = '/') jsOMS.getArray = function(path, data, delim = '/')
{ {
@ -82,7 +82,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.trim = function(str, char = ' ') jsOMS.trim = function(str, char = ' ')
{ {
@ -99,7 +99,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.rtrim = function(str, char = ' ') jsOMS.rtrim = function(str, char = ' ')
{ {
@ -116,7 +116,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.ltrim = function(str, char = ' ') jsOMS.ltrim = function(str, char = ' ')
{ {
@ -133,7 +133,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.substr_count = function(str, substr) { jsOMS.substr_count = function(str, substr) {
str += ''; str += '';
@ -173,7 +173,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.hasClass = function (ele, cls) jsOMS.hasClass = function (ele, cls)
{ {
@ -193,7 +193,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.addClass = function (ele, cls) jsOMS.addClass = function (ele, cls)
{ {
@ -212,7 +212,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.removeClass = function (ele, cls) jsOMS.removeClass = function (ele, cls)
{ {
@ -229,7 +229,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.watcher = function () jsOMS.watcher = function ()
{ {
@ -250,7 +250,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.preventAll = function (event) jsOMS.preventAll = function (event)
{ {
@ -272,7 +272,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.ready = function (func) jsOMS.ready = function (func)
{ {
@ -296,7 +296,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.empty = function (ele) jsOMS.empty = function (ele)
{ {
@ -314,7 +314,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.hash = function (str) jsOMS.hash = function (str)
{ {
@ -339,7 +339,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isNode = function (ele) jsOMS.isNode = function (ele)
{ {
@ -360,7 +360,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isElement = function (o) jsOMS.isElement = function (o)
{ {
@ -382,7 +382,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.getByClass = function (ele, cls) jsOMS.getByClass = function (ele, cls)
{ {
@ -406,7 +406,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.addEventListenerToAll = function (e, event, callback) jsOMS.addEventListenerToAll = function (e, event, callback)
{ {
@ -424,7 +424,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.isValidJson = function (jsonString) jsOMS.isValidJson = function (jsonString)
{ {
@ -446,7 +446,7 @@
* *
* @function * @function
* *
* @since 1.0.0 * @since 1.0.0
*/ */
jsOMS.merge = function (target, source) jsOMS.merge = function (target, source)
{ {