Skip to content

Commit

Permalink
Fix a typo and made a slight improvement in a sentence in docs on Files
Browse files Browse the repository at this point in the history
  • Loading branch information
ylynfatt authored Dec 28, 2024
1 parent bc4e26a commit 3470268
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/v3/msgraph/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Get files from a group:
MsGraph::files()->getFiles($path = null, $type = "groups/$groupId");
```

To work with emails first call **->files()** followed by a method.
To work with files first call **->files()** followed by a method.

```php
MsGraph::files();
Expand Down Expand Up @@ -86,8 +86,8 @@ MsGraph::files()->rename($name, $id);

## Upload file

passes the name and the uploadPath (where the file is on your server) and the path to where the file will be stored if no path is provided the root is used.
Pass the name and the uploadPath (where the file is on your server) and the path to where the file will be stored. If no path is provided the root is used.

```php
MsGraph::files()->upload($name, $uploadPath, $path = null);
```
```

0 comments on commit 3470268

Please sign in to comment.