Skip to content

Commit

Permalink
Merge pull request #146 from uber/foundation-typo-master
Browse files Browse the repository at this point in the history
Fix typo in Foundation protocol
  • Loading branch information
rudro authored Aug 23, 2018
2 parents a820ad7 + 24fd038 commit 9191f3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public protocol PluginizedComponentType: ComponentType {
/// - note: This method is required, because the non-core component
/// reference cannot be made weak. If the non-core component is weak,
/// it is deallocated before the plugin points are created lazily.
/// - parameter observable: The `PluginizedScopeLifecycleObervable` to
/// - parameter observable: The `PluginizedScopeLifecycleObservable` to
/// bind to.
func bind(to observable: PluginizedScopeLifecycleObervable)
func bind(to observable: PluginizedScopeLifecycleObservable)
}

/// The base protocol of a plugin extension, enabling Needle's parsing process.
Expand Down Expand Up @@ -79,9 +79,9 @@ open class PluginizedComponent<DependencyType, PluginExtensionType, NonCoreCompo
/// - note: This method is required, because the non-core component
/// reference cannot be made weak. If the non-core component is weak,
/// it is deallocated before the plugin points are created lazily.
/// - parameter observable: The `PluginizedScopeLifecycleObervable` to
/// - parameter observable: The `PluginizedScopeLifecycleObservable` to
/// bind to.
public func bind(to observable: PluginizedScopeLifecycleObervable) {
public func bind(to observable: PluginizedScopeLifecycleObservable) {
guard lifecycleObserverDisposable == nil else {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public protocol ObserverDisposable {
}

/// The observable of the lifecycle events of a pluginized scope.
public protocol PluginizedScopeLifecycleObervable {
public protocol PluginizedScopeLifecycleObservable {

/// Observe the lifecycle events with given observer.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class MockPluginizedComponent: PluginizedComponent<EmptyDependency, EmptyPluginE
}
}

class MockPluginizedScopeLifecycleObervable: PluginizedScopeLifecycleObervable {
class MockPluginizedScopeLifecycleObervable: PluginizedScopeLifecycleObservable {

let disposable: ObserverDisposable

Expand Down

0 comments on commit 9191f3d

Please sign in to comment.