chore: code style
This commit is contained in:
@@ -2,59 +2,33 @@
|
||||
|
||||
namespace App\Interfaces\MarketData;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
use App\Interfaces\MarketData\Types\Quote;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
interface MarketDataInterface
|
||||
{
|
||||
/**
|
||||
* Does this symbol actually exist?
|
||||
*
|
||||
* @param String $symbol
|
||||
*
|
||||
* @return Bool
|
||||
*/
|
||||
public function exists(String $symbol): Bool;
|
||||
public function exists(string $symbol): bool;
|
||||
|
||||
/**
|
||||
* Get quote data
|
||||
*
|
||||
* @param String $symbol
|
||||
*
|
||||
* @return Quote
|
||||
*/
|
||||
public function quote(String $symbol): Quote;
|
||||
public function quote(string $symbol): Quote;
|
||||
|
||||
/**
|
||||
* Get dividend data
|
||||
*
|
||||
* @param String $symbol
|
||||
* @param \DateTimeInterface $startDate
|
||||
* @param \DateTimeInterface $endDate
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function dividends(String $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
|
||||
public function dividends(string $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
|
||||
|
||||
/**
|
||||
* Get split data
|
||||
*
|
||||
* @param String $symbol
|
||||
* @param \DateTimeInterface $startDate
|
||||
* @param \DateTimeInterface $endDate
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function splits(String $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
|
||||
public function splits(string $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
|
||||
|
||||
/**
|
||||
* Get historical close data
|
||||
*
|
||||
* @param String $symbol
|
||||
* @param \DateTimeInterface $startDate
|
||||
* @param \DateTimeInterface $endDate
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function history(String $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
|
||||
public function history(string $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user