|
@@ -96,7 +96,7 @@ |
|
|
block discarded – undo |
|
96
|
96
|
|
|
97
|
97
|
/** |
|
98
|
98
|
* sets the users avatar |
|
99
|
|
- * @param \OCP\IImage|resource|string $data An image object, imagedata or path to set a new avatar |
|
|
99
|
+ * @param null|string $data An image object, imagedata or path to set a new avatar |
|
100
|
100
|
* @throws \Exception if the provided file is not a jpg or png image |
|
101
|
101
|
* @throws \Exception if the provided image is not valid |
|
102
|
102
|
* @throws \OC\NotSquareException if the image is not square |
Please login to merge, or discard this patch.