Skip to content

Commit

Permalink
Rearrange internal methods
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Feb 26, 2024
1 parent ddb7bcf commit b1135b9
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/support/src/concerns/ConcernsInjector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,20 @@ export default class ConcernsInjector<T = object> implements Injector<T>
}
}

/**
* Determine if key is "unsafe"
*
* @param {PropertyKey} key
*
* @returns {boolean}
*
* @protected
*/
protected isUnsafe(key: PropertyKey): boolean
{
return isUnsafeKey(key);
}

/**
* Returns a new Descriptors (cache) instance
*
Expand Down Expand Up @@ -610,18 +624,4 @@ export default class ConcernsInjector<T = object> implements Injector<T>
{
return new ConfigurationFactory();
}

/**
* Determine if key is "unsafe"
*
* @param {PropertyKey} key
*
* @returns {boolean}
*
* @protected
*/
protected isUnsafe(key: PropertyKey): boolean
{
return isUnsafeKey(key);
}
}

0 comments on commit b1135b9

Please sign in to comment.