Skip to content

Commit 835876e

Browse files
committed
refactor(docs): Update installation command and change method visibility
- Update the composer require command to use --prefer-source - Change the visibility of the defaultSoarBinary method from protected to public to allow access from outside the trait - These changes enhance the installation instructions and improve accessibility of the method
1 parent df804b2 commit 835876e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
## Installation
2929

3030
```shell
31-
composer require guanguans/soar-php --ansi -v
31+
composer require guanguans/soar-php --prefer-source --ansi -v
3232
```
3333

3434
## Usage

src/Concerns/HasSoarBinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function setSoarBinary(string $soarBinary): self
4343
return $this;
4444
}
4545

46-
protected function defaultSoarBinary(): string
46+
public function defaultSoarBinary(): string
4747
{
4848
if (OS::isWindows()) {
4949
return __DIR__.'/../../bin/soar.windows-amd64';

0 commit comments

Comments
 (0)