Completed
Branch master (670e9c)
by Gabriel
08:51
created
src/Algorit/Synchronizer/Builder.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	/**
66 66
 	 * Set the Request and Resource
67 67
 	 *
68
-	 * @param  \Algorit\Synchronizer\Request\Contracts\RequestInterface  $request
68
+	 * @param  RequestInterface  $request
69 69
 	 * @param  \Algorit\Synchronizer\Request\Contracts\ResourceInterface $resource
70 70
 	 * @return void
71 71
 	 */
@@ -153,6 +153,7 @@  discard block
 block discarded – undo
153 153
 	 * @param  string 	$entity
154 154
 	 * @param  mixed 	$lastSync
155 155
 	 * @param  Closure 	$try
156
+	 * @param string $function
156 157
 	 * @return mixed
157 158
 	 */
158 159
 	private function process($entity, $lastSync, $function, Closure $try)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Carbon\Carbon;
6 6
 use Algorit\Synchronizer\Request\RequestInterface;
7 7
 use Algorit\Synchronizer\Storage\SyncRepositoryInterface;
8
-use Algorit\Synchronizer\Request\Contracts\SystemInterface;
9 8
 use Algorit\Synchronizer\Request\Contracts\ResourceInterface;
10 9
 
11 10
 class Builder {
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/Loader.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,13 +2,11 @@
 block discarded – undo
2 2
 
3 3
 use Closure;
4 4
 use Exception;
5
-use Psr\Log\LoggerInterface;
6 5
 use Illuminate\Support\Collection;
7 6
 use Illuminate\Container\Container;
8 7
 use Algorit\Synchronizer\Request\Config;
9 8
 use Algorit\Synchronizer\Request\Contracts\SystemInterface;
10 9
 use Algorit\Synchronizer\Request\Contracts\ResourceInterface;
11
-use Algorit\Synchronizer\Request\Contracts\ContainerInterface;
12 10
 
13 11
 class Loader {
14 12
 
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/Request/Caller.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 	/**
20 20
 	 * Create a new instance.
21 21
 	 *
22
-	 * @param  \Algorit\Synchronizer\Container   $container
22
+	 * @param  Container   $container
23 23
 	 * @return
24 24
 	 */
25 25
 	public function __construct(Container $container)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Algorit\Synchronizer\Request;
2 2
 
3 3
 use Illuminate\Container\Container;
4
-use Illuminate\Filesystem\Filesystem;
5 4
 use Algorit\Synchronizer\Request\Contracts\ParserInterface;
6 5
 use Algorit\Synchronizer\Request\Exceptions\ParserException;
7 6
 use Algorit\Synchronizer\Request\Contracts\RepositoryInterface;
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/Request/Config.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,13 +52,16 @@
 block discarded – undo
52 52
 	 * Create a new instance.
53 53
 	 *
54 54
 	 * @param  \Illuminate\Filesystem\Filesystem  $files
55
-	 * @return void
55
+	 * @return Config
56 56
 	 */
57 57
 	public function __construct(Filesystem $files)
58 58
 	{
59 59
 		$this->files = $files;
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param string $path
64
+	 */
62 65
 	protected function load($path)
63 66
 	{
64 67
 		$this->config  = $this->files->getRequire($path . '/config.php');
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/Request/Request.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -307,7 +307,6 @@  discard block
 block discarded – undo
307 307
 	 * Execute a request to Send data.
308 308
 	 *
309 309
 	 * @param  string  $requestMethod,
310
-	 * @param  string  $url
311 310
 	 * @return \Algorit\Synchronizer\Request\Methods\MethodInterface
312 311
 	 */
313 312
 	protected function executeSendRequest($requestMethod, $data, $options = array())
@@ -332,7 +331,6 @@  discard block
 block discarded – undo
332 331
 	 * Execute a request to Receive data.
333 332
 	 *
334 333
 	 * @param  string  $requestMethod,
335
-	 * @param  string  $url
336 334
 	 * @return \Algorit\Synchronizer\Request\Methods\MethodInterface
337 335
 	 */
338 336
 	protected function executeReceiveRequest($requestMethod, $options = array())
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Closure;
4 4
 use Carbon\Carbon;
5
-use Illuminate\Filesystem\Filesystem;
6 5
 use Algorit\Synchronizer\Request\Methods\MethodInterface;
7 6
 use Algorit\Synchronizer\Request\Contracts\ResourceInterface;
8 7
 use Algorit\Synchronizer\Request\Contracts\DispatcherInterface;
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/Request/System.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	/**
115 115
 	 * Load the request Class
116 116
 	 *
117
-	 * @param  \Algorit\Synchronizer\Container  $container
117
+	 * @param  Container  $container
118 118
 	 * @return \Algorit\Synchronizer\Request\Contracts\RequestInterface
119 119
 	 */
120 120
 	public function loadRequest(Container $container)
@@ -131,8 +131,8 @@  discard block
 block discarded – undo
131 131
 	/**
132 132
 	 * Get the container with all its bindings
133 133
 	 *
134
-	 * @param  \Algorit\Synchronizer\Container  $container
135
-	 * @return \Algorit\Synchronizer\Container  $container
134
+	 * @param  Container  $container
135
+	 * @return Container  $container
136 136
 	 */
137 137
 	private function bindedContainer(Container $container)
138 138
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use ReflectionClass;
4 4
 use Illuminate\Container\Container;
5
-use Illuminate\Filesystem\Filesystem;
6 5
 use Algorit\Synchronizer\Request\Methods\Requests;
7 6
 use Algorit\Synchronizer\Request\Contracts\SystemInterface;
8 7
 use Algorit\Synchronizer\Request\Contracts\ResourceInterface;
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/Storage/SyncEloquentRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	/**
22 22
 	 * Define the entity instance
23 23
 	 *
24
-	 * @return void
24
+	 * @return SyncRepositoryInterface
25 25
 	 */
26 26
 	public function __construct(Sync $entity)
27 27
 	{
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Create a new model.
33 33
 	 *
34
-	 * @return Collection
34
+	 * @return Sync
35 35
 	 */
36 36
 	public function create($data)
37 37
 	{
Please login to merge, or discard this patch.
src/Algorit/Synchronizer/SynchronizerServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	/**
69 69
 	 * Get the services provided by the provider.
70 70
 	 *
71
-	 * @return array
71
+	 * @return string[]
72 72
 	 */
73 73
 	public function provides()
74 74
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
2 2
 
3 3
 use Illuminate\Filesystem\Filesystem;
4 4
 use Illuminate\Support\ServiceProvider;
5
-
6 5
 use Monolog\Handler\StreamHandler;
7 6
 use Algorit\Synchronizer\Request\Config;
8
-
9 7
 use Algorit\Synchronizer\Storage\Sync;
10 8
 use Algorit\Synchronizer\Storage\SyncEloquentRepository;
11 9
 
Please login to merge, or discard this patch.