1
1
<?php
2
2
3
- namespace distinctm \LaravelDataSync ;
3
+ namespace nullthoughts \LaravelDataSync ;
4
4
5
- use distinctm \LaravelDataSync \Exceptions \ErrorUpdatingModelException ;
6
- use distinctm \LaravelDataSync \Exceptions \FileDirectoryNotFoundException ;
7
- use distinctm \LaravelDataSync \Exceptions \NoCriteriaException ;
8
- use distinctm \LaravelDataSync \Exceptions \NoRecordsInvalidJSONException ;
5
+ use nullthoughts \LaravelDataSync \Exceptions \ErrorUpdatingModelException ;
6
+ use nullthoughts \LaravelDataSync \Exceptions \FileDirectoryNotFoundException ;
7
+ use nullthoughts \LaravelDataSync \Exceptions \NoCriteriaException ;
8
+ use nullthoughts \LaravelDataSync \Exceptions \NoRecordsInvalidJSONException ;
9
9
use Illuminate \Support \Collection ;
10
10
use Illuminate \Support \Facades \File ;
11
11
use Illuminate \Support \Str ;
@@ -19,7 +19,7 @@ class Updater
19
19
* @param string|null $path
20
20
* @param string|null $model
21
21
*
22
- * @throws \distinctm \LaravelDataSync\Exceptions\FileDirectoryNotFoundException
22
+ * @throws \nullthoughts \LaravelDataSync\Exceptions\FileDirectoryNotFoundException
23
23
*/
24
24
public function __construct ($ path = null , $ model = null )
25
25
{
@@ -52,7 +52,7 @@ public function run()
52
52
*
53
53
* @param string $file
54
54
*
55
- * @throws \distinctm \LaravelDataSync\Exceptions\NoRecordsInvalidJSONException
55
+ * @throws \nullthoughts \LaravelDataSync\Exceptions\NoRecordsInvalidJSONException
56
56
*
57
57
* @return \Illuminate\Support\Collection
58
58
*/
@@ -81,7 +81,7 @@ protected function syncModel(string $file)
81
81
*
82
82
* @param $path
83
83
*
84
- * @throws \distinctm \LaravelDataSync\Exceptions\FileDirectoryNotFoundException
84
+ * @throws \nullthoughts \LaravelDataSync\Exceptions\FileDirectoryNotFoundException
85
85
*
86
86
* @return string
87
87
*/
@@ -148,7 +148,7 @@ protected function sortModels(\Illuminate\Support\Collection $files)
148
148
*
149
149
* @param stdClass $record
150
150
*
151
- * @throws \distinctm \LaravelDataSync\Exceptions\NoCriteriaException
151
+ * @throws \nullthoughts \LaravelDataSync\Exceptions\NoCriteriaException
152
152
*
153
153
* @return \Illuminate\Support\Collection
154
154
*/
@@ -206,7 +206,7 @@ protected function getModel(string $name)
206
206
*
207
207
* @param string $file
208
208
*
209
- * @throws \distinctm \LaravelDataSync\Exceptions\NoRecordsInvalidJSONException
209
+ * @throws \nullthoughts \LaravelDataSync\Exceptions\NoRecordsInvalidJSONException
210
210
*
211
211
* @return \Illuminate\Support\Collection
212
212
*/
0 commit comments