Skip to content

Commit 5177db7

Browse files
committed
Remove redundant yard tags
1 parent c4b0246 commit 5177db7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Library/Homebrew/service.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ def require_root(value = nil)
187187
end
188188

189189
# Returns a `Boolean` describing if a service requires root access.
190-
# @return [Boolean]
191190
sig { returns(T::Boolean) }
192191
def requires_root?
193192
@require_root.present? && @require_root == true
@@ -234,7 +233,6 @@ def sockets(value = nil)
234233
end
235234

236235
# Returns a `Boolean` describing if a service is set to be kept alive.
237-
# @return [Boolean]
238236
sig { returns(T::Boolean) }
239237
def keep_alive?
240238
!@keep_alive.empty? && @keep_alive[:always] != false
@@ -388,7 +386,6 @@ def command?
388386
end
389387

390388
# Returns the `String` command to run manually instead of the service.
391-
# @return [String]
392389
sig { returns(String) }
393390
def manual_command
394391
vars = @environment_variables.except(:PATH)
@@ -399,14 +396,12 @@ def manual_command
399396
end
400397

401398
# Returns a `Boolean` describing if a service is timed.
402-
# @return [Boolean]
403399
sig { returns(T::Boolean) }
404400
def timed?
405401
@run_type == RUN_TYPE_CRON || @run_type == RUN_TYPE_INTERVAL
406402
end
407403

408404
# Returns a `String` plist.
409-
# @return [String]
410405
sig { returns(String) }
411406
def to_plist
412407
# command needs to be first because it initializes all other values
@@ -467,7 +462,6 @@ def to_plist
467462
end
468463

469464
# Returns a `String` systemd unit.
470-
# @return [String]
471465
sig { returns(String) }
472466
def to_systemd_unit
473467
# command needs to be first because it initializes all other values
@@ -500,7 +494,6 @@ def to_systemd_unit
500494
end
501495

502496
# Returns a `String` systemd unit timer.
503-
# @return [String]
504497
sig { returns(String) }
505498
def to_systemd_timer
506499
options = []

0 commit comments

Comments
 (0)