Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit c46cc6b

Browse files
committed
Added DocBlock to new functions
1 parent c2472bc commit c46cc6b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/Api/Sources.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Sources extends AbstractApi
66
{
77
/**
88
* inventoryApiSourcesRepositoryV1
9-
* All of paginated source items.
9+
* All of paginated sources.
1010
*
1111
* @param int $pageSize
1212
* @param int $currentPage
@@ -22,6 +22,14 @@ public function all($pageSize = 50, $currentPage = 1, $filters = [])
2222
]));
2323
}
2424

25+
/**
26+
* inventoryApiSourcesRepositoryV1
27+
* Return Specific Source by name.
28+
*
29+
* @param string $name
30+
*
31+
* @return array
32+
*/
2533
public function bySourceName(String $name = 'default')
2634
{
2735
return $this->get('/inventory/sources/'.$name);

src/Api/Stocks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Stocks extends AbstractApi
66
{
77
/**
88
* inventoryApiStocksRepositoryV1
9-
* All of paginated source items.
9+
* All of paginated stock items.
1010
*
1111
* @param int $pageSize
1212
* @param int $currentPage

0 commit comments

Comments
 (0)