@@ -32,7 +32,7 @@ class BlobBlobStore implements BlobStore
3232 */
3333 public function delBlob (int $ blbId ): void
3434 {
35- Nub::$ DL ->abcBlobDelBlob (Nub::$ companyResolver ->getCmpId (), $ blbId );
35+ Nub::$ nub -> DL ->abcBlobDelBlob (Nub::$ nub -> companyResolver ->getCmpId (), $ blbId );
3636 }
3737
3838 //--------------------------------------------------------------------------------------------------------------------
@@ -41,7 +41,7 @@ public function delBlob(int $blbId): void
4141 */
4242 public function getBlob (int $ blbId ): array
4343 {
44- return Nub::$ DL ->abcBlobGetBlob (Nub::$ companyResolver ->getCmpId (), $ blbId );
44+ return Nub::$ nub -> DL ->abcBlobGetBlob (Nub::$ nub -> companyResolver ->getCmpId (), $ blbId );
4545 }
4646
4747 //--------------------------------------------------------------------------------------------------------------------
@@ -50,7 +50,7 @@ public function getBlob(int $blbId): array
5050 */
5151 public function getMetadata (int $ blbId ): array
5252 {
53- return Nub::$ DL ->abcBlobGetMetadata (Nub::$ companyResolver ->getCmpId (), $ blbId );
53+ return Nub::$ nub -> DL ->abcBlobGetMetadata (Nub::$ nub -> companyResolver ->getCmpId (), $ blbId );
5454 }
5555
5656 //--------------------------------------------------------------------------------------------------------------------
@@ -59,11 +59,9 @@ public function getMetadata(int $blbId): array
5959 */
6060 public function mimeTypePath (string $ path ): string
6161 {
62- list ( $ output) = ProgramExecution::exec1 ([self ::$ filePath , '-ib ' , $ path ], [0 ], true );
62+ [ $ output] = ProgramExecution::exec1 ([self ::$ filePath , '-ib ' , $ path ], [0 ], true );
6363
64- $ mimeType = $ output [0 ];
65-
66- return $ mimeType ;
64+ return $ output [0 ];
6765 }
6866
6967 //--------------------------------------------------------------------------------------------------------------------
@@ -102,9 +100,9 @@ public function putFile(string $path, string $filename, ?string $mimeType = null
102100
103101 $ data = file_get_contents ($ path );
104102
105- Nub::$ DL ->abcBlobInsertBlob (Nub::$ companyResolver ->getCmpId (), $ filename , $ mimeType , $ timestamp , $ data );
103+ Nub::$ nub -> DL ->abcBlobInsertBlob (Nub::$ nub -> companyResolver ->getCmpId (), $ filename , $ mimeType , $ timestamp , $ data );
106104
107- return Nub::$ DL ->abcBlobWorkaround ();
105+ return Nub::$ nub -> DL ->abcBlobWorkaround ();
108106 }
109107
110108 //--------------------------------------------------------------------------------------------------------------------
@@ -118,9 +116,9 @@ public function putString(string $data, string $filename, ?string $mimeType = nu
118116 $ mimeType = $ this ->mimeTypeString ($ data );
119117 }
120118
121- Nub::$ DL ->abcBlobInsertBlob (Nub::$ companyResolver ->getCmpId (), $ filename , $ mimeType , $ timestamp , $ data );
119+ Nub::$ nub -> DL ->abcBlobInsertBlob (Nub::$ nub -> companyResolver ->getCmpId (), $ filename , $ mimeType , $ timestamp , $ data );
122120
123- return Nub::$ DL ->abcBlobWorkaround ();
121+ return Nub::$ nub -> DL ->abcBlobWorkaround ();
124122 }
125123
126124 //--------------------------------------------------------------------------------------------------------------------
@@ -129,7 +127,7 @@ public function putString(string $data, string $filename, ?string $mimeType = nu
129127 */
130128 public function searchByMd5 (string $ md5 ): array
131129 {
132- return Nub::$ DL ->abcBlobGetMetadataByMd5 (Nub::$ companyResolver ->getCmpId (), $ md5 );
130+ return Nub::$ nub -> DL ->abcBlobGetMetadataByMd5 (Nub::$ nub -> companyResolver ->getCmpId (), $ md5 );
133131 }
134132}
135133
0 commit comments